diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/genpass/gen_test.clj | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/genpass/gen_test.clj b/test/genpass/gen_test.clj index 05d8994..3bc62e1 100644 --- a/test/genpass/gen_test.clj +++ b/test/genpass/gen_test.clj @@ -2,7 +2,7 @@ (:require [clojure.test :refer :all] [genpass.gen :refer :all])) -(def valid-char-regex #"^[a-zA-Z0-1\!\@\#\%\^\&\*\(\)\{\}\[\]\-\+\=\~]*$") +(def valid-char-regex #"^[a-zA-Z0-9\!\@\#\%\^\&\*\(\)\{\}\[\]\-\+\=\~]*$") (def not-nil? (complement nil?)) (deftest rand-char-test @@ -23,5 +23,4 @@ (is (not-nil? (re-matches valid-char-regex (genpwd)))) (is (not-nil? (re-matches valid-char-regex (genpwd 1)))) (is (not-nil? (re-matches valid-char-regex (genpwd 1000)))) - (is (not-nil? (re-matches valid-char-regex (genpwd 4)))) - ))
\ No newline at end of file + (is (not-nil? (re-matches valid-char-regex (genpwd 4))))))
\ No newline at end of file |