diff options
author | Andy Wingo <wingo@pobox.com> | 2011-04-11 17:21:20 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-04-11 17:21:20 +0200 |
commit | 62ef23cbb828accf1f5b9622ff17775aa539d354 (patch) | |
tree | 3b48adb874c2fc44ae982e531fd96cde0200397a | |
parent | b9e22602bb9c7d82500e4e5612bf80e478e28b8c (diff) | |
download | guile-62ef23cbb828accf1f5b9622ff17775aa539d354.tar.gz |
fix reader.test for --disable-deprecated
* test-suite/tests/reader.test: Fix deprecated tests; begin-deprecated
was splicing in expression context before, which is a no-no.
-rw-r--r-- | test-suite/tests/reader.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test-suite/tests/reader.test b/test-suite/tests/reader.test index 7027d3255..f350e73a6 100644 --- a/test-suite/tests/reader.test +++ b/test-suite/tests/reader.test @@ -430,12 +430,13 @@ (pass-if (equal? (read-string "#{}#") '#{}#)) (pass-if (equal? (read-string "#{a}#") 'a)) (pass-if (equal? (read-string "#{a b}#") '#{a b}#)) - (begin-deprecated - (pass-if (equal? (read-string "#{a\\ b}#") '#{a b}#))) (pass-if-exception "#{" exception:eof-in-symbol (read-string "#{")) (pass-if (equal? (read-string "#{a\\x20;b}#") '#{a b}#))) +(begin-deprecated + (with-test-prefix "deprecated #{}# escapes" + (pass-if (equal? (read-string "#{a\\ b}#") '#{a b}#)))) ;;; Local Variables: ;;; eval: (put 'with-read-options 'scheme-indent-function 1) |