summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch07/7.8/7.8.1
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/ch07/7.8/7.8.1')
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T1.js15
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T2.js16
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.1/browser.js0
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.1/shell.js0
4 files changed, 31 insertions, 0 deletions
diff --git a/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T1.js b/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T1.js
new file mode 100644
index 000000000..e7b188b6c
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T1.js
@@ -0,0 +1,15 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Literal :: NullLiteral
+ *
+ * @path ch07/7.8/7.8.1/S7.8.1_A1_T1.js
+ * @description Check null === null
+ */
+
+//CHECK#1
+if (null !== null) {
+ $ERROR('#1: null === null');
+}
+
diff --git a/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T2.js b/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T2.js
new file mode 100644
index 000000000..340f8bed4
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.1/S7.8.1_A1_T2.js
@@ -0,0 +1,16 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * Literal :: NullLiteral
+ *
+ * @path ch07/7.8/7.8.1/S7.8.1_A1_T2.js
+ * @description Check RegExp("0").exec("1") === null
+ */
+
+//CHECK#1
+if (RegExp("0").exec("1") !== null) {
+ $ERROR('#1: RegExp("0").exec("1") === null');
+}
+
+
diff --git a/js/src/tests/test262/ch07/7.8/7.8.1/browser.js b/js/src/tests/test262/ch07/7.8/7.8.1/browser.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.1/browser.js
diff --git a/js/src/tests/test262/ch07/7.8/7.8.1/shell.js b/js/src/tests/test262/ch07/7.8/7.8.1/shell.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.1/shell.js