Skip to content

Commit

Permalink
Test we properly skip argument when relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Nov 3, 2023
1 parent c0a26b1 commit fee490f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codespell_lib/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ def test_ignore(
assert cs.main("--skip=*ignoredir*", tmp_path) == 1
assert cs.main("--skip=ignoredir", tmp_path) == 1
assert cs.main("--skip=*ignoredir/bad*", tmp_path) == 1
assert cs.main("--skip=ignoredir", subdir) == 0
badjs = tmp_path / "bad.js"
copyfile(badtxt, badjs)
assert cs.main("--skip=*.js", goodtxt, badtxt, badjs) == 1
Expand Down

0 comments on commit fee490f

Please sign in to comment.