Skip to content

Commit

Permalink
Merge pull request #299 from tri-adam/test-sif
Browse files Browse the repository at this point in the history
test: report file/line info for makeTestSIF errors
  • Loading branch information
tri-adam authored Jun 5, 2023
2 parents f94eb08 + b6d5a1d commit dd9c2a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/siftool/siftool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import (

var corpus = filepath.Join("..", "..", "test", "images")

//nolint:thelper // Complex enough to justify keeping file/line information on error.
func makeTestSIF(t *testing.T, withDataObject bool) string {
t.Helper()

tf, err := os.CreateTemp("", "sif-test-*")
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit dd9c2a5

Please sign in to comment.