summaryrefslogtreecommitdiff
path: root/test/built-ins/Boolean/S15.6.1.1_A1_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Boolean/S15.6.1.1_A1_T3.js')
-rw-r--r--test/built-ins/Boolean/S15.6.1.1_A1_T3.js30
1 files changed, 15 insertions, 15 deletions
diff --git a/test/built-ins/Boolean/S15.6.1.1_A1_T3.js b/test/built-ins/Boolean/S15.6.1.1_A1_T3.js
index 56e663367..ab9b2a1b3 100644
--- a/test/built-ins/Boolean/S15.6.1.1_A1_T3.js
+++ b/test/built-ins/Boolean/S15.6.1.1_A1_T3.js
@@ -11,41 +11,41 @@ description: Used various string values as argument
---*/
//CHECK#1
-if( typeof Boolean("0") !== "boolean" ) {
- $ERROR('#1.1: typeof Boolean("0") should be "boolean", actual is "'+typeof Boolean("0")+'"');
+if (typeof Boolean("0") !== "boolean") {
+ $ERROR('#1.1: typeof Boolean("0") should be "boolean", actual is "' + typeof Boolean("0") + '"');
}
-if( Boolean("0") !== true ) {
+if (Boolean("0") !== true) {
$ERROR('#1.2: Boolean("0") should be true');
}
//CHECK#2
-if( typeof Boolean("-1") !== "boolean" ) {
- $ERROR('#2.1: typeof Boolean("-1") should be "boolean", actual is "'+typeof Boolean("-1")+'"');
+if (typeof Boolean("-1") !== "boolean") {
+ $ERROR('#2.1: typeof Boolean("-1") should be "boolean", actual is "' + typeof Boolean("-1") + '"');
}
-if( Boolean("-1") !== true ) {
+if (Boolean("-1") !== true) {
$ERROR('#2.2: Boolean("-1") should be true');
}
//CHECK#3
-if( typeof Boolean("1") !== "boolean" ) {
- $ERROR('#3.1: typeof Boolean("1") should be "boolean", actual is "'+typeof Boolean("1")+'"');
+if (typeof Boolean("1") !== "boolean") {
+ $ERROR('#3.1: typeof Boolean("1") should be "boolean", actual is "' + typeof Boolean("1") + '"');
}
-if( Boolean("1") !== true ) {
+if (Boolean("1") !== true) {
$ERROR('#3.2: Boolean("1") should be true');
}
//CHECK#4
-if( typeof Boolean("false") !== "boolean" ) {
- $ERROR('#4.1: typeof Boolean("false") should be "boolean", actual is "'+typeof Boolean("false")+'"');
+if (typeof Boolean("false") !== "boolean") {
+ $ERROR('#4.1: typeof Boolean("false") should be "boolean", actual is "' + typeof Boolean("false") + '"');
}
-if( Boolean("false") !== true ) {
+if (Boolean("false") !== true) {
$ERROR('#4.2: Boolean("false") should be true');
}
//CHECK#5
-if( typeof Boolean("true") !== "boolean" ) {
- $ERROR('#5.1: typeof Boolean("true") should be "boolean", actual is "'+typeof Boolean("true")+'"');
+if (typeof Boolean("true") !== "boolean") {
+ $ERROR('#5.1: typeof Boolean("true") should be "boolean", actual is "' + typeof Boolean("true") + '"');
}
-if( Boolean("true") !== true ) {
+if (Boolean("true") !== true) {
$ERROR('#5.2: Boolean("true") should be true');
}