We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 878581f commit 8cbe129Copy full SHA for 8cbe129
1 file changed
internal/testutils/repoutils.go
@@ -86,6 +86,8 @@ func CreateObject(
86
}
87
88
func AddFile(t *testing.T, repoPath string, relativePath, contents string) {
89
+ t.Helper()
90
+
91
dirPath := filepath.Dir(relativePath)
92
if dirPath != "." {
93
require.NoError(t, os.MkdirAll(filepath.Join(repoPath, dirPath), 0777), "creating subdir")
0 commit comments