We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aff992 commit 939daa3Copy full SHA for 939daa3
1 file changed
test/glojure/test_glojure/cli.glj
@@ -46,20 +46,12 @@
46
(test-that
47
"glj --help flag works correctly"
48
(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")
53
(is (empty? err) "Command should not return an error"))))
54
55
(deftest short-help-flag-test
56
57
"glj -h flag works correctly"
58
(let [[out err] (run-cli-cmd glj "-h")]
59
60
61
62
63
64
65
(run-tests)
0 commit comments