From: Andy Wingo Date: Mon, 11 Apr 2011 15:21:20 +0000 (+0200) Subject: fix reader.test for --disable-deprecated X-Git-Url: https://git.hcoop.net/bpt/guile.git/commitdiff_plain/62ef23cbb828accf1f5b9622ff17775aa539d354 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. --- 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)