fix reader.test for --disable-deprecated
authorAndy Wingo <wingo@pobox.com>
Mon, 11 Apr 2011 15:21:20 +0000 (17:21 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 11 Apr 2011 15:21:20 +0000 (17:21 +0200)
* test-suite/tests/reader.test: Fix deprecated tests; begin-deprecated
  was splicing in expression context before, which is a no-no.

test-suite/tests/reader.test

index 7027d32..f350e73 100644 (file)
   (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)