Skip to content

Commit

Permalink
Merge pull request #1206 from scop/renovate/crate-ci-typos-1.x
Browse files Browse the repository at this point in the history
chore(pre-commit): update crate-ci/typos to v1.26.0
  • Loading branch information
scop authored Oct 12, 2024
2 parents 7f11650 + 0bdb788 commit 82514b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ repos:
- id: check-case-conflict

- repo: https://github.com/crate-ci/typos
rev: v1.21.0
rev: v1.26.0
hooks:
- id: typos
exclude: ^(CHANGELOG\.md|test/(test-cmd-list\.txt|fixtures/.+))$
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 82514b7

Please sign in to comment.