diff options
Diffstat (limited to 'test/built-ins/String/prototype/replace/15.5.4.11-1.js')
-rw-r--r-- | test/built-ins/String/prototype/replace/15.5.4.11-1.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/String/prototype/replace/15.5.4.11-1.js b/test/built-ins/String/prototype/replace/15.5.4.11-1.js index 5cc4a8ce9..c59125079 100644 --- a/test/built-ins/String/prototype/replace/15.5.4.11-1.js +++ b/test/built-ins/String/prototype/replace/15.5.4.11-1.js @@ -10,13 +10,13 @@ flags: [noStrict] ---*/ var global = this; - var retVal = 'x'.replace(/x/, - function() { - if (this===global) { - return 'y'; - } else { - return 'z'; - } - }); +var retVal = 'x'.replace(/x/, + function() { + if (this === global) { + return 'y'; + } else { + return 'z'; + } + }); assert.sameValue(retVal, 'y', 'retVal'); |