test/nashorn/script/basic/NASHORN-575.js.EXPECTED
changeset 47216 71c04702a3d5
parent 16147 e63b63819133
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/nashorn/script/basic/NASHORN-575.js.EXPECTED	Tue Sep 12 19:03:39 2017 +0200
@@ -0,0 +1,18 @@
+SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
+// foo
+^
+SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
+/* foo */
+^
+SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
+/foo/
+^
+SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
+{"foo" : "bar" // foo }
+               ^
+SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
+{"foo" : "bar" /* foo */ }
+               ^
+SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
+{"foo" : /foo/}
+         ^