Fix non-travis tests.

This commit is contained in:
jregan
2019-08-19 16:29:00 -07:00
parent a2767cab2a
commit fa834f9541
3 changed files with 7 additions and 8 deletions

View File

@@ -72,8 +72,7 @@ data:
if err == nil {
t.Fatalf("expected an error")
}
if !strings.Contains(err.Error(),
"data: Invalid type. Expected: object, given: array") {
if !strings.Contains(err.Error(), "data: Invalid type.") {
t.Fatalf("incorrect error %v", err)
}
}