racket/collects/redex/tests/syn-err-tests/term.rktd
Robby Findler b7b566aefc adjust redex error message tests to match singular/plural fixes in
the error raising code, except in one place where I think the
error raising code was correct to have the plural form, so I changed
it back instead of changing the Redex test suite to match
2012-05-31 10:56:14 -05:00

9 lines
263 B
Racket

(#rx"missing ellipsis"
([id-no-ellipsis x]) ([ellipsis ...])
(term-let ([(id-no-ellipsis ellipsis) '(a b c)]) (term id-no-ellipsis)))
(#rx"too few ellipses"
([bound x]) ([bind x])
(... (term-let ([((bind ...) ...) '()])
(term (bound ...)))))