add missing syntax-case tests
svn: r9987
This commit is contained in:
parent
645cd87c81
commit
536ec96549
|
@ -301,6 +301,10 @@
|
||||||
(guard (v [#t v])
|
(guard (v [#t v])
|
||||||
(syntax-violation "apple" "bad" 'worm)))
|
(syntax-violation "apple" "bad" 'worm)))
|
||||||
"apple")
|
"apple")
|
||||||
|
(test (who-condition?
|
||||||
|
(guard (v [#t v])
|
||||||
|
(syntax-violation #f "bad" 'worm)))
|
||||||
|
#f)
|
||||||
(test (condition-who
|
(test (condition-who
|
||||||
(guard (v [#t v])
|
(guard (v [#t v])
|
||||||
(syntax-violation #f "bad" #'worm)))
|
(syntax-violation #f "bad" #'worm)))
|
||||||
|
@ -315,8 +319,8 @@
|
||||||
#f)
|
#f)
|
||||||
(test (syntax-violation-subform
|
(test (syntax-violation-subform
|
||||||
(guard (v [#t v])
|
(guard (v [#t v])
|
||||||
(syntax-violation 'apple "bad" '(worm) '(another))))
|
(syntax-violation 'apple "bad" '(worm) '((another)))))
|
||||||
'(another))
|
'((another)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user