Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaister committed Aug 5, 2022
1 parent 49604a0 commit c4350bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/parser/parse_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func TestParseCliArguments(t *testing.T) {
t.Fatalf("Error was expected but not received")
}

if err.Error() != "no commands were provided" {
t.Fatalf("Error message incorrect. Expected \"%v\" got \"%v\"", "no commands were provided", err.Error())
if err.Error() != "no action was provided" {
t.Fatalf("Error message incorrect. Expected \"%v\" got \"%v\"", "no action was provided", err.Error())
}

})
Expand Down

0 comments on commit c4350bc

Please sign in to comment.