Skip to content

Commit

Permalink
Add t.helper() at start of test function
Browse files Browse the repository at this point in the history
Signed-off-by: Julio Chana <julio.chana@lokalise.com>
  • Loading branch information
jchanam committed Jan 17, 2025
1 parent 6e60747 commit bec1276
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/builtin/patchtransformer/PatchTransformer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,7 @@ path: patch.yaml
target:
name: myDeploy
`, someDeploymentResources, func(t *testing.T, err error) {
t.Helper()
if err != nil {
t.Fatalf("unexpected error")
}
Expand All @@ -1152,6 +1153,7 @@ path: patch.yaml
target:
name: myDeploy
`, someDeploymentResources, func(t *testing.T, err error) {
t.Helper()
if err != nil {
t.Fatalf("unexpected error")
}
Expand Down

0 comments on commit bec1276

Please sign in to comment.