Skip to content

Commit

Permalink
Bump version and add test for it
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Aug 16, 2024
1 parent 99e64a4 commit a8e4771
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
kong.Name("is"),
kong.Description("an inspector for your environment"),
kong.UsageOnError(),
kong.Vars{"version": "0.5.3"},
kong.Vars{"version": "0.5.4"},
)

// Run kongplete.Complete to handle completion requests
Expand Down
4 changes: 3 additions & 1 deletion test/is.bats
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/env bats

@test "is --version" {
./is --version
run ./is --version
[ "$status" -eq 0 ]
[ "$output" = "0.5.4" ]
}

@test "is --help" {
Expand Down

0 comments on commit a8e4771

Please sign in to comment.