mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
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.
This commit is contained in:
parent
b9e22602bb
commit
62ef23cbb8
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue