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

original commit: 555aa8cf4c6145898ae3697a9fe1c00f70b7d6c4
This commit is contained in:
Robby Findler 2009-10-18 19:57:27 +00:00
parent 0c7301c2d4
commit cd71568751

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)))