projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented string<
[jscl.git]
/
tests
/
strings.lisp
diff --git
a/tests/strings.lisp
b/tests/strings.lisp
index
eab8a6b
..
cb6cd83
100644
(file)
--- a/
tests/strings.lisp
+++ b/
tests/strings.lisp
@@
-18,6
+18,10
@@
(test (not (string= "foo" "foox")))
(test (= (string< "one" "two") 0))
(test (not (string= "foo" "foox")))
(test (= (string< "one" "two") 0))
+(test (= (string< "oob" "ooc") 2))
+(test (null (string< "" "")))
+(test (null (string< "a" "")))
+(test (= (string< "" "a") 0))
;;; BUG: The compiler will macroexpand the forms below (char str N)
;;; will expand to internal SBCL code instead of our (setf char). It
;;; BUG: The compiler will macroexpand the forms below (char str N)
;;; will expand to internal SBCL code instead of our (setf char). It