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:
parent
69c74140dd
commit
0bfcc6e0d4
1 changed files with 4 additions and 0 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue