Update client library to react to changes in Decoding

This commit is contained in:
Clayton Coleman
2015-12-21 00:32:52 -05:00
parent 24a7919002
commit efe88e0818
20 changed files with 65 additions and 88 deletions

View File

@@ -222,7 +222,7 @@ func TestSetsCodec(t *testing.T) {
if e, a := expected.Prefix, client.RESTClient.versionedAPIPath; e != a {
t.Errorf("expected %#v, got %#v", e, a)
}
if e, a := expected.Codec, client.RESTClient.Codec; e != a {
if e, a := expected.Codec, client.RESTClient.Codec; !reflect.DeepEqual(e, a) {
t.Errorf("expected %#v, got %#v", e, a)
}
}