Evade quad.Quad String method

This commit is contained in:
kortschak 2014-07-29 08:32:49 +09:30
parent 79c1ba6c52
commit 7ce3a10d57

View file

@ -429,7 +429,7 @@ func TestParse(t *testing.T) {
t.Errorf("Unexpected error when %s: got:%v expect:%v", test.message, err, test.err) t.Errorf("Unexpected error when %s: got:%v expect:%v", test.message, err, test.err)
} }
if !reflect.DeepEqual(got, test.expect) { if !reflect.DeepEqual(got, test.expect) {
t.Errorf("Failed to %s, %q, got:%q expect:%q", test.message, test.input, got, test.expect) t.Errorf("Failed to %s, %q, got:%#v expect:%#v", test.message, test.input, got, test.expect)
} }
} }
} }