Skip to content

Commit

Permalink
test: work around false positive typos
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Oct 12, 2024
1 parent f5e67dc commit 0bdb788
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/t/test_cppcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def test_4(self, completion):
def test_5(self, completion):
assert completion == "l"

@pytest.mark.complete("cppcheck --enable=xx,styl")
@pytest.mark.complete("cppcheck --enable=xx,sty")
def test_6(self, completion):
assert completion == "e"
assert completion == "le"

@pytest.mark.complete("cppcheck --enable=xx,yy,styl")
@pytest.mark.complete("cppcheck --enable=xx,yy,sty")
def test_7(self, completion):
assert completion == "e"
assert completion == "le"
4 changes: 2 additions & 2 deletions test/t/test_xgamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class TestXgamma:
def test_1(self, completion):
assert completion

@pytest.mark.complete("xgamma -gam", require_cmd=True)
@pytest.mark.complete("xgamma -gamm", require_cmd=True)
def test_2(self, completion):
assert completion == "ma"
assert completion == "a"
assert completion.endswith(" ")

0 comments on commit 0bdb788

Please sign in to comment.