summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/json.check1
-rw-r--r--test/files/run/json.scala1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/json.check b/test/files/run/json.check
index 4c2dbf48a0..2a3f25166a 100644
--- a/test/files/run/json.check
+++ b/test/files/run/json.check
@@ -1,6 +1,7 @@
Some(List((name,value)))
Some(List((name,va1ue)))
Some(List((name,List((name1,va1ue1), (name2,va1ue2)))))
+Some(List((name,")))
Some(List((firstName,John), (lastName,Smith), (address,List((streetAddress,21 2nd Street), (city,New York), (state,NY), (postalCode,10021.0))), (phoneNumbers,List(212 732-1234, 646 123-4567))))
diff --git a/test/files/run/json.scala b/test/files/run/json.scala
index 040dbd380e..3cb8e3963b 100644
--- a/test/files/run/json.scala
+++ b/test/files/run/json.scala
@@ -7,6 +7,7 @@ object Test extends Application {
printJSON("{\"name\": \"value\"}")
printJSON("{\"name\": \"va1ue\"}") // ticket #136
printJSON("{\"name\": { \"name1\": \"va1ue1\", \"name2\": \"va1ue2\" } }")
+ printJSON("{\"name\": \"\\u0022\"}")
println
// from http://en.wikipedia.org/wiki/JSON