X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fstrings.lisp;h=cb6cd8398e9de7c0c0d11ffd460adcda6842a196;hb=671a7d7ba8aa7bfae12d5eb254f184b2210a9c64;hp=eab8a6ba08e1b857127aeea689598870aa3d80c6;hpb=e095cf1b6567eb71f7386c724c1aa504a9d2bcfb;p=jscl.git diff --git a/tests/strings.lisp b/tests/strings.lisp index eab8a6b..cb6cd83 100644 --- a/tests/strings.lisp +++ b/tests/strings.lisp @@ -18,6 +18,10 @@ (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