Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
Small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai committed Sep 1, 2009
1 parent 355efb7 commit 2bb4e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.lisp
Expand Up @@ -215,7 +215,7 @@
(is (stringp s)))
(for-all ((s (gen-string :length (gen-integer :min 0 :max 2))))
(is (<= (length s) 2)))
(for-all ((s (gen-string :elements (gen-character :code (gen-integer :min 0 :max 0))
(for-all ((s (gen-string :elements (constantly (code-char 0))
:length (constantly 2))))
(is (= 2 (length s)))
(is (every (curry #'char= #\Null) s))))
Expand Down

0 comments on commit 2bb4e17

Please sign in to comment.