Skip to content

Commit cbf4546

Browse files
committed
fixed nits on testcases
1 parent 2726ceb commit cbf4546

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎test/testuninitvar.cpp‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,7 +2203,6 @@ class TestUninitVar : public TestFixture {
22032203
"}\n");
22042204
ASSERT_EQUALS("", errout_str());
22052205

2206-
22072206
checkUninitVar("void f() {\n"
22082207
" char *p = new char;\n"
22092208
" p += 1;\n"
@@ -2227,9 +2226,9 @@ class TestUninitVar : public TestFixture {
22272226
"}\n");
22282227
ASSERT_EQUALS("", errout_str());
22292228

2230-
checkUninitVar("void g() {\n"
2229+
checkUninitVar("void g() {\n" // #15005
22312230
" int* p = new int;\n"
2232-
" ++p; // FP\n"
2231+
" ++p;\n"
22332232
" delete (p - 1);\n"
22342233
"}\n");
22352234
ASSERT_EQUALS("", errout_str());

0 commit comments

Comments
 (0)