add missing syntax-case tests

svn: r9987
This commit is contained in:
Matthew Flatt 2008-05-27 20:22:08 +00:00
parent 645cd87c81
commit 536ec96549

View File

@ -301,6 +301,10 @@
(guard (v [#t v])
(syntax-violation "apple" "bad" 'worm)))
"apple")
(test (who-condition?
(guard (v [#t v])
(syntax-violation #f "bad" 'worm)))
#f)
(test (condition-who
(guard (v [#t v])
(syntax-violation #f "bad" #'worm)))
@ -315,8 +319,8 @@
#f)
(test (syntax-violation-subform
(guard (v [#t v])
(syntax-violation 'apple "bad" '(worm) '(another))))
'(another))
(syntax-violation 'apple "bad" '(worm) '((another)))))
'((another)))
;;