Skip to content

Commit

Permalink
Merge pull request #28 from cockroachdb/helper
Browse files Browse the repository at this point in the history
Add missing t.Helper()
  • Loading branch information
tbg authored Aug 26, 2020
2 parents c9e8355 + d0c8fd6 commit 92602d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datadriven.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func runDirectiveOrSubTest(
mandatorySubTestPrefix string,
f func(*testing.T, *TestData) string,
) {
t.Helper()
if subTestName, ok := isSubTestStart(t, r, mandatorySubTestPrefix); ok {
runSubTest(subTestName, t, r, f)
} else {
Expand Down

0 comments on commit 92602d8

Please sign in to comment.