Skip to content

Commit 2d169c5

Browse files
committed
Don't assert specific help contents in cli test
Signed-off-by: James Hamlin <jfhamlin@gmail.com>
1 parent dffd5e6 commit 2d169c5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/glojure/test_glojure/cli.glj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,12 @@
4646
(test-that
4747
"glj --help flag works correctly"
4848
(let [[out err] (run-cli-cmd glj "--help")]
49-
(is (re-matches
50-
#"(?s).*Glojure v0\.3\.0.*Usage: glj.*Options:.*-e.*-h.*--help.*--version.*Examples:.*"
51-
out)
52-
"Command should output help information")
5349
(is (empty? err) "Command should not return an error"))))
5450

5551
(deftest short-help-flag-test
5652
(test-that
5753
"glj -h flag works correctly"
5854
(let [[out err] (run-cli-cmd glj "-h")]
59-
(is (re-matches
60-
#"(?s).*Glojure v0\.3\.0.*Usage: glj.*Options:.*-e.*-h.*--help.*--version.*Examples:.*"
61-
out)
62-
"Command should output help information")
6355
(is (empty? err) "Command should not return an error"))))
6456

6557
(run-tests)

0 commit comments

Comments
 (0)