Fixed wrong arity
This commit is contained in:
parent
18f8c74327
commit
d7e4843c82
|
@ -4,10 +4,14 @@
|
|||
|
||||
(deftest test-github-keywords
|
||||
(testing "Several keywords in mixed case"
|
||||
(let [res (set (extract-issue-number
|
||||
(let [res (set (extract-issue-number "body"
|
||||
"Fixes #12 and cloSes #000028 and also resolved \n#32"))]
|
||||
(is (= #{12 28 32} res))))
|
||||
(testing "Ignoring big numbers and zeroes"
|
||||
(let [res (set (extract-issue-number
|
||||
(let [res (set (extract-issue-number "body"
|
||||
"Fixes #298374298229087345 and closes #0xFFEF"))]
|
||||
(is (= #{} res)))))
|
||||
(is (= #{} res))))
|
||||
(testing "Consider both body and title"
|
||||
(let [res (set (extract-issue-number "Fixes #1"
|
||||
"Fixes #2"))]
|
||||
(is (= #{1 2} res)))))
|
||||
|
|
Loading…
Reference in New Issue