Skip to content

Commit 6021d98

Browse files
Update testcondition.cpp
1 parent 5ec9f9e commit 6021d98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testcondition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4065,7 +4065,7 @@ class TestCondition : public TestFixture {
40654065
" unsigned int num = max - 1;\n"
40664066
" if (num < 0) {}\n" // <- do not report knownConditionTrueFalse
40674067
"}");
4068-
ASSERT_EQUALS("[test.cpp:3:15]: (style) Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError]", errout_str());
4068+
ASSERT_EQUALS("[test.cpp:3:15]: (style) Comparing expression of type 'unsigned int' against value 0. Condition is always false. [compareValueOutOfTypeRangeError]\n", errout_str());
40694069

40704070
// #10297
40714071
check("void foo(size_t len, int start) {\n"

0 commit comments

Comments
 (0)