Skip to content

Commit

Permalink
add help test
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-kiselenko committed Jul 19, 2024
1 parent 7c4dc7c commit 7ea1dc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test.bats
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bats

@test "can show help" {
run ./bin/smolgit --help
[ "${lines[0]}" = "Usage of ./bin/smolgit:" ]
}

@test "can generate config" {
run ./bin/smolgit config
[ "${lines[0]}" = "log:" ]
Expand Down

0 comments on commit 7ea1dc1

Please sign in to comment.