Skip to content

Commit 81bc06b

Browse files
committed
Add call to t.Helper.
1 parent aa74e0c commit 81bc06b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assert_json.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import (
1616

1717
// assertJSONEqual asserts two JSON representations are the same.
1818
func assertJSONEqual(t T, a, b []byte) {
19+
t.Helper()
20+
1921
var ja, jb interface{}
2022
if err := json.Unmarshal(a, &ja); err != nil {
2123
t.Fatal(err)

0 commit comments

Comments
 (0)