improved syntax check for check-satisfied

This commit is contained in:
Matthias Felleisen 2014-07-31 11:44:40 -04:00
parent e430753b6c
commit 8a0cdb83de

View File

@ -188,7 +188,7 @@
(define-syntax (check-satisfied stx)
(syntax-case stx ()
[(_ actual:exp expected-property:exp)
(symbol? (syntax-e #'expected-property:exp))
(identifier? #'expected-property:exp)
(check-expect-maker stx
#'check-values-property
#'(lambda (x) (expected-property:exp x))