summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2018-02-15 15:39:13 -0500
committerLeo Balter <leonardo.balter@gmail.com>2018-02-15 15:39:13 -0500
commit19ca734beaea75fc61e296f78450354ff0dff7e9 (patch)
tree151310b950d46e9843df6f98d21fcc89f8ceca9b /test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js
parentaf37c92af7691eaf4769eb1f5f44f92a4a883426 (diff)
downloadqtdeclarative-testsuites-19ca734beaea75fc61e296f78450354ff0dff7e9.tar.gz
built-ins/String/*: make all indentation consistent (depth & character) (#1430)
Diffstat (limited to 'test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js')
-rw-r--r--test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js b/test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js
index e78ae20d0..eb545020d 100644
--- a/test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js
+++ b/test/built-ins/String/prototype/split/S15.5.4.14_A1_T9.js
@@ -15,17 +15,17 @@ description: >
---*/
var __obj = {
- valueOf:function(){},
- toString:void 0
+ valueOf: function() {},
+ toString: void 0
};
//since ToString(undefined) evaluates to "undefined"
-var __split = new String(__obj).split(function(){}());
+var __split = new String(__obj).split(function() {}());
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (typeof __split !== "object") {
- $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); typeof __split === "object". Actual: '+typeof __split );
+ $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); typeof __split === "object". Actual: ' + typeof __split);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -33,7 +33,7 @@ if (typeof __split !== "object") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (__split.constructor !== Array) {
- $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.constructor === Array. Actual: '+__split.constructor );
+ $ERROR('#2: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.constructor === Array. Actual: ' + __split.constructor);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -41,7 +41,7 @@ if (__split.constructor !== Array) {
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
if (__split.length !== 1) {
- $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.length === 1. Actual: '+__split.length );
+ $ERROR('#3: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split.length === 1. Actual: ' + __split.length);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -49,7 +49,7 @@ if (__split.length !== 1) {
//////////////////////////////////////////////////////////////////////////////
//CHECK#4
if (__split[0] !== "undefined") {
- $ERROR('#4: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split[0] !== "undefined". Actual: '+__split[0]);
+ $ERROR('#4: __obj = {valueOf:function(){}, toString:void 0}; __split = new String(__obj).split(function(){}()); __split[0] !== "undefined". Actual: ' + __split[0]);
}
//
//////////////////////////////////////////////////////////////////////////////