Merge pull request #18487 from smarterclayton/guard_encode_decode
Auto commit by PR queue bot
This commit is contained in:
@@ -430,7 +430,7 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("Could not get codec for %s: %s", expectedType, err)
|
||||
}
|
||||
if err := codec.DecodeInto(data, expectedType); err != nil {
|
||||
if err := runtime.DecodeInto(codec, data, expectedType); err != nil {
|
||||
t.Errorf("%s did not decode correctly: %v\n%s", path, err, string(data))
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user