Skip to content

Commit

Permalink
fix; compilation error in test package
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikmuralidharan committed Sep 11, 2018
1 parent d4e6e16 commit a7c82e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions json_marshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ func TestWrappedMarshalJSON(t *testing.T) {
op := Op("TestWrappedMarshalJSON")
e2 := WithOp(e1, op)

err := Unwrap(e2)
input := Unwrap(e2)

input := err.(*Error)
output, ok := testJSONRoundTrip(err).(*Error)
output, ok := testJSONRoundTrip(input).(*Error)
if !ok {
t.Errorf("expected pointer err, but failed")
}
Expand Down

0 comments on commit a7c82e1

Please sign in to comment.