* tests/regexp.test: Check regexp-substitute/global when there are

no matches.  (Duh.)
This commit is contained in:
Jim Blandy 1999-09-20 22:52:02 +00:00
commit f88fdc6e32

View file

@ -75,6 +75,7 @@
(try "xx" "a(x*)b" "_axxb_" 1)
(try "pre" "a(x*)b" "preaxxbpost" 'pre)
(try "post" "a(x*)b" "preaxxbpost" 'post)
(try "string" "x" "string" 'pre "y" 'post)
(try "4" "a(x*)b" "_axxb_" (lambda (m)
(number->string (match:end m 1))))