diff options
Diffstat (limited to 'tests/tests.rs')
-rw-r--r-- | tests/tests.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/tests.rs b/tests/tests.rs index ba83141..071d1f0 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -2573,7 +2573,14 @@ fn test_git_dir() { ], ); - te.assert_output(&["--hidden", "foo"], ""); + te.assert_output( + &["--hidden", "foo"], + ".git/one/foo.a + .git/.foo + .git/a.foo + other_dir/.git/foo1 + nested/dir/.git/foo2", + ); te.assert_output(&["--no-ignore", "foo"], ""); te.assert_output( &["--hidden", "--no-ignore", "foo"], |