diff options
Diffstat (limited to 'test/built-ins/Function/S15.3.2.1_A3_T4.js')
-rw-r--r-- | test/built-ins/Function/S15.3.2.1_A3_T4.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/Function/S15.3.2.1_A3_T4.js b/test/built-ins/Function/S15.3.2.1_A3_T4.js index 7a0ec0d00..e817ba1b3 100644 --- a/test/built-ins/Function/S15.3.2.1_A3_T4.js +++ b/test/built-ins/Function/S15.3.2.1_A3_T4.js @@ -22,9 +22,9 @@ var body = "return 1.1;"; //CHECK#1 try { - var f = new Function(p, body); + var f = new Function(p,body); } catch (e) { - $ERROR('#1: test failed with error ' + e); + $ERROR('#1: test failed with error '+e); } //CHECK#2 @@ -33,7 +33,7 @@ if (f.constructor !== Function) { } //CHECK#3 -if (f() !== 1.1) { +if (f()!==1.1) { $ERROR('#3: When the Function constructor is called with one argument then body be that argument the following steps are taken...'); } |