Skip to content

Commit 0544b4c

Browse files
Merge pull request #3 from roman-kiselenko/more-tests
add help test
2 parents 7c4dc7c + 7ea1dc1 commit 0544b4c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/usr/bin/env bats
22

3+
@test "can show help" {
4+
run ./bin/smolgit --help
5+
[ "${lines[0]}" = "Usage of ./bin/smolgit:" ]
6+
}
7+
38
@test "can generate config" {
49
run ./bin/smolgit config
510
[ "${lines[0]}" = "log:" ]

0 commit comments

Comments
 (0)