Fix TestErrorJSONOutput test

pull/10463/head
Ilya Zuyev 2021-02-12 15:07:11 -08:00
parent 27d86a421f
commit 4001c0a267
1 changed files with 1 additions and 1 deletions

View File

@ -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 {