Skip to content

Commit

Permalink
test(cmd): update the version test function
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Jul 14, 2021
1 parent 4a186ec commit c55140e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestVersionCmd(t *testing.T) {
t.Fatal(err)
}

if !strings.Contains(string(out), "v0.1.0") {
t.Fatalf("expected \"%s\" got \"%s\"", "v0.1.0", string(out))
if !strings.Contains(string(out), "v0.9.2") {
t.Fatalf("expected \"%s\" got \"%s\"", "v0.9.2", string(out))
}
}

0 comments on commit c55140e

Please sign in to comment.