We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e6e16 commit a7c82e1Copy full SHA for a7c82e1
json_marshal_test.go
@@ -39,10 +39,9 @@ func TestWrappedMarshalJSON(t *testing.T) {
39
op := Op("TestWrappedMarshalJSON")
40
e2 := WithOp(e1, op)
41
42
- err := Unwrap(e2)
+ input := Unwrap(e2)
43
44
- input := err.(*Error)
45
- output, ok := testJSONRoundTrip(err).(*Error)
+ output, ok := testJSONRoundTrip(input).(*Error)
46
if !ok {
47
t.Errorf("expected pointer err, but failed")
48
}
0 commit comments