Skip to content

Commit a7c82e1

Browse files
fix; compilation error in test package
1 parent d4e6e16 commit a7c82e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

json_marshal_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ func TestWrappedMarshalJSON(t *testing.T) {
3939
op := Op("TestWrappedMarshalJSON")
4040
e2 := WithOp(e1, op)
4141

42-
err := Unwrap(e2)
42+
input := Unwrap(e2)
4343

44-
input := err.(*Error)
45-
output, ok := testJSONRoundTrip(err).(*Error)
44+
output, ok := testJSONRoundTrip(input).(*Error)
4645
if !ok {
4746
t.Errorf("expected pointer err, but failed")
4847
}

0 commit comments

Comments
 (0)