@@ -1571,8 +1571,8 @@ class TestValueFlow : public TestFixture {
15711571 " x = y;\n "
15721572 " if (x == 123) {}\n "
15731573 " }" );
1574- ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1575- " [test.cpp:2]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y\n " ,
1574+ ASSERT_EQUALS (
1575+ " [test.cpp:2]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y\n " ,
15761576 errout.str ());
15771577 }
15781578
@@ -1695,8 +1695,8 @@ class TestValueFlow : public TestFixture {
16951695 bailout (" void f(int x) {\n "
16961696 " y = ((x<0) ? x : ((x==2)?3:4));\n "
16971697 " }" );
1698- ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1699- " [test.cpp:2]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y\n " ,
1698+ ASSERT_EQUALS (
1699+ " [test.cpp:2]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y\n " ,
17001700 errout.str ());
17011701
17021702 bailout (" int f(int x) {\n "
@@ -1760,8 +1760,8 @@ class TestValueFlow : public TestFixture {
17601760 " if (x != 123) { b = x; }\n "
17611761 " if (x == 123) {}\n "
17621762 " }" );
1763- ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1764- " [test.cpp:2]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b\n " ,
1763+ ASSERT_EQUALS (
1764+ " [test.cpp:2]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b\n " ,
17651765 errout.str ());
17661766
17671767 code = " void f(int x, bool abc) {\n "
@@ -1809,8 +1809,8 @@ class TestValueFlow : public TestFixture {
18091809 " case 2: if (x==5) {} break;\n "
18101810 " };\n "
18111811 " }" );
1812- ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1813- " [test.cpp:3]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n " ,
1812+ ASSERT_EQUALS (
1813+ " [test.cpp:3]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n " ,
18141814 errout.str ());
18151815
18161816 bailout (" void f(int x, int y) {\n "
@@ -1819,8 +1819,8 @@ class TestValueFlow : public TestFixture {
18191819 " case 2: if (x==5) {} break;\n "
18201820 " };\n "
18211821 " }" );
1822- ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1823- " [test.cpp:3]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n " ,
1822+ ASSERT_EQUALS (
1823+ " [test.cpp:3]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n " ,
18241824 errout.str ());
18251825 }
18261826
@@ -1832,7 +1832,7 @@ class TestValueFlow : public TestFixture {
18321832 " M;\n "
18331833 " }" );
18341834 ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1835- " [test.cpp:3]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
1835+ " [test.cpp:3]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
18361836 " [test.cpp:4]: (debug) valueflow.cpp:1260:(valueFlow) bailout: variable 'x', condition is defined in macro\n " ,
18371837 errout.str ());
18381838
@@ -1842,7 +1842,7 @@ class TestValueFlow : public TestFixture {
18421842 " FREE(x);\n "
18431843 " }" );
18441844 ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1845- " [test.cpp:3]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
1845+ " [test.cpp:3]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
18461846 " [test.cpp:4]: (debug) valueflow.cpp:1260:(valueFlow) bailout: variable 'x', condition is defined in macro\n " ,
18471847 errout.str ());
18481848 }
@@ -1856,7 +1856,7 @@ class TestValueFlow : public TestFixture {
18561856 " if (x==123){}\n "
18571857 " }" );
18581858 ASSERT_EQUALS_WITHOUT_LINENUMBERS (
1859- " [test.cpp:3]: (debug) valueflow.cpp:: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
1859+ " [test.cpp:3]: (debug) valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a\n "
18601860 " [test.cpp:2]: (debug) valueflow.cpp::(valueFlow) bailout: valueFlowAfterCondition: bailing in conditional block\n " ,
18611861 errout.str ());
18621862
0 commit comments