mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
* Remember that string=? and friends need fixing.
This commit is contained in:
parent
06ee04b27d
commit
548b925289
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2000-09-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||||
|
|
||||||
|
* tests/strings.test: Added a test to help remember that string=?
|
||||||
|
and friends need fixing.
|
||||||
|
|
||||||
2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||||
|
|
||||||
* tests/environments.test: For tests that rely on garbage
|
* tests/environments.test: For tests that rely on garbage
|
||||||
|
|
|
@ -20,6 +20,15 @@
|
||||||
|
|
||||||
(use-modules (test-suite lib))
|
(use-modules (test-suite lib))
|
||||||
|
|
||||||
|
|
||||||
|
(expect-fail "string=? does not accept symbols"
|
||||||
|
(catch 'wrong-type-arg
|
||||||
|
(lambda ()
|
||||||
|
(string=? 'a 'b)
|
||||||
|
#f)
|
||||||
|
(lambda args
|
||||||
|
#t)))
|
||||||
|
|
||||||
(pass-if "string<? respects string length"
|
(pass-if "string<? respects string length"
|
||||||
(not (string<? "foo\0" "foo")))
|
(not (string<? "foo\0" "foo")))
|
||||||
(pass-if "string-ci<? respects string length"
|
(pass-if "string-ci<? respects string length"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue