diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d89fb012f24..c0f7861b871 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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/.+))$ diff --git a/test/t/test_cppcheck.py b/test/t/test_cppcheck.py index 73e64f5efa6..2cd81854e3e 100644 --- a/test/t/test_cppcheck.py +++ b/test/t/test_cppcheck.py @@ -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" diff --git a/test/t/test_xgamma.py b/test/t/test_xgamma.py index 151e2d36dac..b943cdac718 100644 --- a/test/t/test_xgamma.py +++ b/test/t/test_xgamma.py @@ -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(" ")