From 61145cf878a69d58526e118f0f193e6eb3677741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 11 Sep 2020 18:29:42 +0200 Subject: [PATCH] test/cli/test-inline-suppress.py: better testing --- test/cli/test-inline-suppress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli/test-inline-suppress.py b/test/cli/test-inline-suppress.py index eab4ace95..9b4102d2e 100644 --- a/test/cli/test-inline-suppress.py +++ b/test/cli/test-inline-suppress.py @@ -6,12 +6,12 @@ import re from testutils import cppcheck def test1(): - ret, stdout, stderr = cppcheck(['-Iproj-inline-suppress', '--inline-suppr', 'proj-inline-suppress']) + ret, stdout, stderr = cppcheck(['--inline-suppr', 'proj-inline-suppress']) assert ret == 0 assert stderr == '' def test2(): - ret, stdout, stderr = cppcheck(['-Iproj-inline-suppress', 'proj-inline-suppress']) + ret, stdout, stderr = cppcheck(['proj-inline-suppress']) assert ret == 0 assert len(stderr) > 0