From 0bdb788d29c951083172cb089af206e13e01ff99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 12 Oct 2024 11:18:18 +0300 Subject: [PATCH] test: work around false positive typos --- test/t/test_cppcheck.py | 8 ++++---- test/t/test_xgamma.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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(" ")