fixed check-regexp-match so that the test suite fails when the argument isn't a string (instead of signalling an internal error)

svn: r16361
This commit is contained in:
Robby Findler 2009-10-18 19:57:27 +00:00
parent 5555bba97e
commit 555aa8cf4c

View File

@ -73,5 +73,6 @@
(test-case case-name case-body ...) ...))))
(define-simple-check (check-regexp-match regex string)
(regexp-match regex string))
(and (string? string)
(regexp-match regex string)))