summaryrefslogtreecommitdiff
path: root/test/built-ins/String/S15.5.2.1_A1_T17.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/S15.5.2.1_A1_T17.js')
-rw-r--r--test/built-ins/String/S15.5.2.1_A1_T17.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/String/S15.5.2.1_A1_T17.js b/test/built-ins/String/S15.5.2.1_A1_T17.js
index 3e9248ebe..745ab818b 100644
--- a/test/built-ins/String/S15.5.2.1_A1_T17.js
+++ b/test/built-ins/String/S15.5.2.1_A1_T17.js
@@ -15,7 +15,7 @@ var __str = new String(1.2345);
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (typeof __str !== "object") {
- $ERROR('#1: __str = new String(1.2345); typeof __str === "object". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#1: __str = new String(1.2345); typeof __str === "object". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -23,15 +23,15 @@ if (typeof __str !== "object") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#1.5
if (__str.constructor !== String) {
- $ERROR('#1.5: __str = new String(1.2345); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor );
+ $ERROR('#1.5: __str = new String(1.2345); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor);
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
-if (__str !="1.2345") {
- $ERROR('#2: __str = new String(1.2345); __str =="1.2345". Actual: __str =='+__str );
+if (__str != "1.2345") {
+ $ERROR('#2: __str = new String(1.2345); __str =="1.2345". Actual: __str ==' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -40,7 +40,7 @@ __str = new String(1.234567890);
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
if (typeof __str !== "object") {
- $ERROR('#3: __str = new String(1.234567890); typeof __str === "object". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#3: __str = new String(1.234567890); typeof __str === "object". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -48,15 +48,15 @@ if (typeof __str !== "object") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#3.5
if (__str.constructor !== String) {
- $ERROR('#3.5: __str = new String(1.234567890); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor );
+ $ERROR('#3.5: __str = new String(1.234567890); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor);
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#4
-if (__str !="1.23456789") {
- $ERROR('#4: __str = new String(1.234567890); __str =="1.23456789". Actual: __str =='+__str );
+if (__str != "1.23456789") {
+ $ERROR('#4: __str = new String(1.234567890); __str =="1.23456789". Actual: __str ==' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -65,7 +65,7 @@ __str = new String(1.234500000000000000000000000);
//////////////////////////////////////////////////////////////////////////////
//CHECK#5
if (typeof __str !== "object") {
- $ERROR('#5: __str = new String(1.234500000000000000000000000); typeof __str === "object". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#5: __str = new String(1.234500000000000000000000000); typeof __str === "object". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -73,15 +73,15 @@ if (typeof __str !== "object") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#5.5
if (__str.constructor !== String) {
- $ERROR('#5.5: __str = new String(1.234500000000000000000000000); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor );
+ $ERROR('#5.5: __str = new String(1.234500000000000000000000000); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor);
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#6
-if (__str !="1.2345") {
- $ERROR('#6: __str = new String(1.234500000000000000000000000); __str =="1.2345". Actual: __str =='+__str );
+if (__str != "1.2345") {
+ $ERROR('#6: __str = new String(1.234500000000000000000000000); __str =="1.2345". Actual: __str ==' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////