summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-04-11 17:21:20 +0200
committerAndy Wingo <wingo@pobox.com>2011-04-11 17:21:20 +0200
commit62ef23cbb828accf1f5b9622ff17775aa539d354 (patch)
tree3b48adb874c2fc44ae982e531fd96cde0200397a
parentb9e22602bb9c7d82500e4e5612bf80e478e28b8c (diff)
downloadguile-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.test5
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)