aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/main.workflow4
-rw-r--r--test/genpass/gen_test.clj5
2 files changed, 4 insertions, 5 deletions
diff --git a/.github/main.workflow b/.github/main.workflow
index 995aac3..7d21b0c 100644
--- a/.github/main.workflow
+++ b/.github/main.workflow
@@ -8,7 +8,7 @@ action "Test" {
args = "test"
}
-action "Covergage" {
+action "Coverage" {
uses = "./.github/action"
args = "lein cloverage --junit"
needs = ["Test"]
@@ -17,7 +17,7 @@ action "Covergage" {
action "Package" {
uses = "./.github/action"
args = "package"
- needs = ["Covergage"]
+ needs = ["Coverage"]
}
action "Deploy to pages" {
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