Test escapes in symbol notation too.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 26 Nov 2018 03:01:53 +0000 (03:01 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 26 Nov 2018 03:01:53 +0000 (03:01 +0000)
tests/runtime/test-readwrite.scm

index 09918bb9a9b6c07a4eb494013446715736a382f9..1b098e133ca3faff602b025b6cd2d56177dd0d30 100644 (file)
@@ -118,7 +118,10 @@ USA.
     ("+nan.0+inf.0i" ,assert-complex-nonreal)
     ("\"|\"" ,assert-string)
     ("\"\\\"\"" ,assert-string)
-    ("\"\\\\\"" ,assert-string))
+    ("\"\\\\\"" ,assert-string)
+    ("|\"|" ,assert-symbol)
+    ("|\\\||" ,assert-symbol)
+    ("|\\\\|" ,assert-symbol))
   (lambda (string #!optional assertion xfail?)
     (with-expected-failure xfail?
       (lambda ()