summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-11-09 17:27:07 +0000
committermichelou <michelou@epfl.ch>2007-11-09 17:27:07 +0000
commit08f096df8c8fd85f92ee75bcc6c3a5082e0f4a90 (patch)
tree68bf2f2f9d37a559f955db03dab0f7087fff05a9 /test/files/run
parenta49aba6e8275d78d13003a959b240a4c8e4fca5b (diff)
downloadscala-08f096df8c8fd85f92ee75bcc6c3a5082e0f4a90.tar.gz
scala-08f096df8c8fd85f92ee75bcc6c3a5082e0f4a90.tar.bz2
scala-08f096df8c8fd85f92ee75bcc6c3a5082e0f4a90.zip
fixed ticket #136 (charSeq)
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