diff options
Diffstat (limited to 'worktree_test.go')
-rw-r--r-- | worktree_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/worktree_test.go b/worktree_test.go index 2c3c592..668c30a 100644 --- a/worktree_test.go +++ b/worktree_test.go @@ -2957,6 +2957,8 @@ func TestValidPath(t *testing.T) { {"git~1", true}, {"a/../b", true}, {"a\\..\\b", true}, + {"/", true}, + {"", true}, {".gitmodules", false}, {".gitignore", false}, {"a..b", false}, |