X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=tests.lisp;h=c917615b40b0030ea1bfa72a42c9f95998136dee;hp=2c944aa508f3048bebf26a7eca4cc03be3a52c75;hb=e83a72f1e88062d7e17ac77c17cc9c32d51f3c13;hpb=c8d30e413138f2463ba99a531df2c301cadb206a diff --git a/tests.lisp b/tests.lisp index 2c944aa..c917615 100644 --- a/tests.lisp +++ b/tests.lisp @@ -7,7 +7,7 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Apr 2003 ;;;; -;;;; $Id: tests.lisp,v 1.21 2003/07/01 22:16:40 kevin Exp $ +;;;; $Id: tests.lisp,v 1.22 2003/07/16 16:01:37 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -178,6 +178,12 @@ (deftest duqs.4 (decode-uri-query-string "abc+d") "abc d") (deftest duqs.5 (decode-uri-query-string "abc%20d") "abc d") +(deftest sse.1 (string-strip-ending "" nil) "") +(deftest sse.2 (string-strip-ending "abc" nil) "abc") +(deftest sse.3 (string-strip-ending "abc" "ab") "abc") +(deftest sse.4 (string-strip-ending "abc" '("ab")) "abc") +(deftest sse.5 (string-strip-ending "abcd" '("a" "cd")) "ab") + ;;; MOP Testing (eval-when (:compile-toplevel :load-toplevel :execute)