Skip to content

Commit cf58149

Browse files
committed
cmpimg: don't report errors in helper
1 parent de78615 commit cf58149

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cmpimg/checkplot.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ func goldenPath(path string) string {
3030
// For image.Image formats, a base64 encoded png representation is output to
3131
// the testing log when a difference is identified.
3232
func CheckPlot(ExampleFunc func(), t *testing.T, filenames ...string) {
33+
t.Helper()
34+
3335
paths := make([]string, len(filenames))
3436
for i, fn := range filenames {
3537
paths[i] = filepath.Join("testdata", fn)

0 commit comments

Comments
 (0)