mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add more 'no cover windows' comments
This commit is contained in:
parent
177164b5a2
commit
4f9d0397b5
6 changed files with 24 additions and 10 deletions
|
|
@ -38,3 +38,9 @@ def test_exists(tmpdir):
|
|||
assert not Prefix(str(tmpdir)).exists('foo')
|
||||
tmpdir.ensure('foo')
|
||||
assert Prefix(str(tmpdir)).exists('foo')
|
||||
|
||||
|
||||
def test_star(tmpdir):
|
||||
for f in ('a.txt', 'b.txt', 'c.py'):
|
||||
tmpdir.join(f).ensure()
|
||||
assert set(Prefix(str(tmpdir)).star('.txt')) == {'a.txt', 'b.txt'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue