Skip to content

Commit 2b9f86d

Browse files
committed
Changing the working dir to temp and then traversing up to many levels broke a test
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 1e31797 commit 2b9f86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/templatepull_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func TestTemplatePull_ToDir(t *testing.T) {
257257
},
258258
{
259259
name: "directory traversal is acceptable",
260-
givenPath: "../../../mytmpl",
260+
givenPath: "../mytmpl",
261261
},
262262
{
263263
name: "empty path falls back to using template name",

0 commit comments

Comments
 (0)