X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=tests%2Fcommon%2Fexpressionmatchtest.cpp;fp=tests%2Fcommon%2Fexpressionmatchtest.cpp;h=a88f31dae5b4842b2d2f9c9ad340f2c59a362a90;hp=8ba1bd77a7e6ab39fe896ab187e6082230d9868f;hb=dd1d9d68c406b993230161208cbd17db55dc85a9;hpb=c41e04630e685bbd4c4cbd5d331f16c496b2ef8f diff --git a/tests/common/expressionmatchtest.cpp b/tests/common/expressionmatchtest.cpp index 8ba1bd77..a88f31da 100644 --- a/tests/common/expressionmatchtest.cpp +++ b/tests/common/expressionmatchtest.cpp @@ -425,7 +425,7 @@ TEST(ExpressionMatchTest, trimMultiWildcardWhitespace) QString result; for (auto&& patternPair : patterns) { // Make sure data is valid - EXPECT_TRUE(patternPair.size() == 2); + ASSERT_TRUE(patternPair.size() == 2); // Run transformation result = ExpressionMatch::trimMultiWildcardWhitespace(patternPair[PATTERN_SOURCE]); // Assert that source trims into expected pattern