summaryrefslogtreecommitdiff
path: root/test/suite/sputnik
diff options
context:
space:
mode:
authorMark Miller <erights@gmail.com>2011-09-25 10:43:20 -0700
committerMark Miller <erights@gmail.com>2011-09-25 10:43:20 -0700
commitea01e1b964d68f9869e678c8bfb3bb8589cc5bb5 (patch)
treef929968ff90681de5e69e274f5fd90e1c7391111 /test/suite/sputnik
parente5fbfd0267d3ae4d163392c20004b470f8d6a9ee (diff)
downloadtest262-ea01e1b964d68f9869e678c8bfb3bb8589cc5bb5.tar.gz
Fixing https://bugs.ecmascript.org/show_bug.cgi?id=59
Diffstat (limited to 'test/suite/sputnik')
-rw-r--r--test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js4
-rw-r--r--test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js4
2 files changed, 6 insertions, 2 deletions
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
index 7005b74ad..da70851e3 100644
--- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
+++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T1.js
@@ -6,8 +6,10 @@
* @section: 7.8.4;
* @assertion: NonEscapeSequence is not EscapeCharacter;
* @description: EscapeCharacter :: DecimalDigits :: 1;
+ * @onlyStrict
* @negative
-*/
+ */
+"use strict";
//CHECK#1
"\1"
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
index e05d30179..93405fa0d 100644
--- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
+++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T2.js
@@ -6,8 +6,10 @@
* @section: 7.8.4;
* @assertion: NonEscapeSequence is not EscapeCharacter;
* @description: EscapeCharacter :: DecimalDigits :: 7;
+ * @onlyStrict
* @negative
-*/
+ */
+"use strict";
//CHECK#1
"\7"