Skip to content

Commit

Permalink
Merge pull request #10463 from ilya-zuyev/ilyaz/fix_TestErrorJSONOutput
Browse files Browse the repository at this point in the history
Fix TestErrorJSONOutput test
  • Loading branch information
medyagh committed Feb 13, 2021
2 parents 27d86a4 + 4001c0a commit a99c6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/json_output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func TestErrorJSONOutput(t *testing.T) {
t.Fatalf("last cloud event is not of type error: %v", last)
}
last.validateData(t, "exitcode", fmt.Sprintf("%v", reason.ExDriverUnsupported))
last.validateData(t, "message", fmt.Sprintf("The driver 'fail' is not supported on %s", runtime.GOOS))
last.validateData(t, "message", fmt.Sprintf("The driver 'fail' is not supported on %s/%s", runtime.GOOS, runtime.GOARCH))
}

type cloudEvent struct {
Expand Down

0 comments on commit a99c6c2

Please sign in to comment.