diff options
Diffstat (limited to 'test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js')
-rw-r--r-- | test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js index 8f9ce29d6..09fef90b0 100644 --- a/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js +++ b/test/suite/ch12/12.6/12.6.3/S12.6.3_A8_T1.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Blocks within "for" braces are not allowed - * - * @path ch12/12.6/12.6.3/S12.6.3_A8_T1.js - * @description Checking if execution of "for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}" fails - * @negative - */ +/*--- +info: Blocks within "for" braces are not allowed +description: > + Checking if execution of "for(index=0; index<100; {index++; + index*2;}) { arr.add(""+index);}" fails +flags: [negative] +---*/ var arr = []; @@ -16,4 +16,3 @@ var arr = []; for(index=0; index<100; {index++; index*2;}) { arr.add(""+index);}; // ////////////////////////////////////////////////////////////////////////////// - |