Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Allow both variants of the command not found error message. (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
rykal-nate authored and tnixa committed Jan 16, 2020
1 parent 6cd589d commit be903da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func TestTAAFail(t *testing.T) {
log.Printf("error is: %v\n", err)
// the count should only be one, it will not match on the .go file or the .bad file touched by the util
// sleep 2 is for watch action, sleep 10 is for RUN action
if strings.Count(output, "bad: command not found") == 1 {
if strings.Count(output, "bad: command not found") == 1 || strings.Count(output, "bad: not found") == 1 {
log.Println("pass")
} else {
t.Fail()
Expand Down

0 comments on commit be903da

Please sign in to comment.