summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch07/7.8/7.8.2
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/ch07/7.8/7.8.2')
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js15
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js16
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.2/browser.js0
-rw-r--r--js/src/tests/test262/ch07/7.8/7.8.2/shell.js0
4 files changed, 31 insertions, 0 deletions
diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T1.js
new file mode 100644
index 000000000..f2925a291
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_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 :: BooleanLiteral
+ *
+ * @path ch07/7.8/7.8.2/S7.8.2_A1_T1.js
+ * @description BooleanLiteral :: true
+ */
+
+//CHECK#1
+if (Boolean(true) !== true) {
+ $ERROR('#1: Boolean(true) === true. Actual: Boolean(true) === ' + (Boolean(true)));
+}
+
diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_A1_T2.js
new file mode 100644
index 000000000..5adaf379d
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.2/S7.8.2_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 :: BooleanLiteral
+ *
+ * @path ch07/7.8/7.8.2/S7.8.2_A1_T2.js
+ * @description BooleanLiteral :: false
+ */
+
+//CHECK#1
+if (Boolean(false) !== false) {
+ $ERROR('#1: Boolean(false) === false. Actual: Boolean(false) === ' + (Boolean(false)));
+}
+
+
diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/browser.js b/js/src/tests/test262/ch07/7.8/7.8.2/browser.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.2/browser.js
diff --git a/js/src/tests/test262/ch07/7.8/7.8.2/shell.js b/js/src/tests/test262/ch07/7.8/7.8.2/shell.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/js/src/tests/test262/ch07/7.8/7.8.2/shell.js