1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

* tests/strings.test: Add test for substring-move! argument checking.

This commit is contained in:
Jim Blandy 1999-09-11 18:46:48 +00:00
parent 69c74140dd
commit 0bfcc6e0d4

View file

@ -24,3 +24,7 @@
(not (string<? "foo\0" "foo")))
(pass-if "string-ci<? respects string length"
(not (string-ci<? "foo\0" "foo")))
(pass-if "substring-move! checks start and end correctly"
(signals-error?
'out-of-range
(substring-move! "sample" 3 0 "test" 3)))