Lines Matching refs:wanted
581 t.Errorf("marshalling JSON produced incorrect output: got %s, wanted %s", str, rawJson)
599 t.Errorf("marshalling JSON produced incorrect output: got %s, wanted %s", str, expected)
985 t.Errorf("custom resolver was invoked with wrong URL: got %q, wanted %q", resolvedTypeUrls[0], "https://foobar.com/some.random.MessageKind")
987 wanted := `{"@type":"https://foobar.com/some.random.MessageKind","oBool":true,"oInt64":"1020304","oString":"foobar","oBytes":"AQIDBA=="}`
988 if js != wanted {
989 t.Errorf("marshalling JSON produced incorrect output: got %s, wanted %s", js, wanted)
1001 t.Errorf("custom resolver was invoked with wrong URL: got %q, wanted %q", resolvedTypeUrls[1], "https://foobar.com/some.random.MessageKind")
1004 t.Errorf("message contents not set correctly after unmarshalling JSON: got %s, wanted %s", roundTrip, any)
1015 t.Errorf("message contents not set correctly after unmarshalling JSON: got %s, wanted %s", msg.RawJson, rawJson)
1049 t.Errorf("message contents not set correctly after unmarshalling JSON: got %v, wanted %v", got, want)