Skip to content

Commit 3554f12

Browse files
author
Joel Johnson
committed
Update bad suppression glob pattern example
1 parent b632294 commit 3554f12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsuppressions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ class TestSuppressions : public TestFixture {
163163
// Check for syntax errors in glob
164164
{
165165
SuppressionList suppressions;
166-
std::istringstream s("errorid:**.cpp\n");
167-
ASSERT_EQUALS("Failed to add suppression. Invalid glob pattern '**.cpp'.", suppressions.parseFile(s));
166+
std::istringstream s("errorid:*?.cpp\n");
167+
ASSERT_EQUALS("Failed to add suppression. Invalid glob pattern '*?.cpp'.", suppressions.parseFile(s));
168168
}
169169

170170
// Check that globbing works

0 commit comments

Comments
 (0)