mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add a test.
This commit is contained in:
parent
24eefeed03
commit
6abdd66053
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def test_ok_with_dos_line_endings(tmpdir):
|
||||||
assert ret == 0
|
assert ret == 0
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('ext', ('md', 'Md', '.md', '*'))
|
@pytest.mark.parametrize('ext', ('md', 'Md', '.md', '*', '.md.j2'))
|
||||||
def test_fixes_markdown_files(tmpdir, ext):
|
def test_fixes_markdown_files(tmpdir, ext):
|
||||||
path = tmpdir.join('test.md')
|
path = tmpdir.join('test.md')
|
||||||
path.write(
|
path.write(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue