Skip to content

Commit

Permalink
Update testsuppressions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Aug 26, 2024
1 parent 8cf2e86 commit 9b67a4e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/testsuppressions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,12 @@ class TestSuppressions : public TestFixture {
SuppressionList suppressions6;
ASSERT_EQUALS("", suppressions6.parseFile(file6));
ASSERT_EQUALS(true, suppressions6.isSuppressed(errorMessage("abc", "test.cpp", 123)));

std::istringstream file7(" // comment\n" // #11450
"abc");
SuppressionList suppressions7;
ASSERT_EQUALS("", suppressions7.parseFile(file7));
ASSERT_EQUALS(true, suppressions7.isSuppressed(errorMessage("abc", "test.cpp", 123)));
}

void inlinesuppress() const {
Expand Down

0 comments on commit 9b67a4e

Please sign in to comment.