summaryrefslogtreecommitdiff
path: root/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'decode.go')
-rw-r--r--decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/decode.go b/decode.go
index d4ecd4f..44eaba4 100644
--- a/decode.go
+++ b/decode.go
@@ -316,7 +316,7 @@ func (dec *Decoder) expectRuneOrPanic(ec rune, et jsonparse.RuneType) *DecodeErr
return err
}
if ac != ec || at != et {
- panic(fmt.Errorf("should not happen: expected %q/%v but got %q/%v", ec, et, ac, at))
+ panic(fmt.Errorf("should not happen: expected r=%q t=%#v but got r=%q t=%#v", ec, et, ac, at))
}
return nil
}