Skip to content

Commit 6bd2c2b

Browse files
Update testuninitvar.cpp
1 parent a62c0cc commit 6bd2c2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testuninitvar.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,13 +569,13 @@ class TestUninitVar : public TestFixture {
569569
" std::cout << *p << 1;\n"
570570
"}");
571571
ASSERT_EQUALS("[test.cpp:3:17]: (error) Uninitialized variable: p [legacyUninitvar]\n", errout_str());
572-
}
572+
}
573573

574574
checkUninitVar("void f() {\n" // #13908
575575
" int* i = new int;\n"
576576
" std::cout << i << \", \" << *i;\n"
577577
" delete i;\n"
578-
"}\n";
578+
"}\n");
579579
ASSERT_EQUALS("[test.cpp:3:32]: (error) Memory is allocated but not initialized: i [uninitdata]\n", errout_str());
580580
}
581581

0 commit comments

Comments
 (0)