Skip to content

Commit f0fe1a0

Browse files
committed
Add file name case test
1 parent 4e94ec2 commit f0fe1a0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

testing/test_git_file_finder.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,19 @@ def test_basic(inwd):
3939
}
4040

4141

42+
def test_case(inwd):
43+
(inwd.cwd / 'CamelFile').ensure(file=True)
44+
(inwd.cwd / 'file2').ensure(file=True)
45+
inwd.add_and_commit()
46+
assert set(find_files()) == {
47+
'CamelFile',
48+
'file2',
49+
'file1',
50+
'adir/filea',
51+
'bdir/fileb',
52+
}
53+
54+
4255
@pytest.mark.skipif(sys.platform == 'win32',
4356
reason="symlinks to dir not supported")
4457
def test_symlink_dir(inwd):

0 commit comments

Comments
 (0)