core: support '' for explicitly set empty path set
This commit is contained in:
parent
a267aeec5b
commit
3d7844b711
4 changed files with 16 additions and 7 deletions
|
@ -102,6 +102,9 @@ def test_no_files():
|
|||
'''
|
||||
Test for empty matches. They work, but should result in warning
|
||||
'''
|
||||
assert get_files('') == ()
|
||||
|
||||
# todo test these for warnings?
|
||||
assert get_files([]) == ()
|
||||
assert get_files('bad*glob') == ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue