File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -395,27 +395,27 @@ class TestConstructors : public TestFixture {
395395 ASSERT_EQUALS (" [test.cpp:3]: (warning) Member variable 'Fred::x' is not initialized in the constructor.\n " , errout.str ());
396396
397397 check (" class Fred {\n "
398- " public:\n "
399- " Fred() = default;\n "
400- " int x;\n "
401- " };" );
398+ " public:\n "
399+ " Fred() = default;\n "
400+ " int x;\n "
401+ " };" );
402402 ASSERT_EQUALS (" [test.cpp:3]: (warning) Member variable 'Fred::x' is not initialized in the constructor.\n " , errout.str ());
403403
404404 check (" class Fred {\n "
405- " public:\n "
406- " Fred();\n "
407- " int x;\n "
408- " };\n "
409- " Fred::Fred()=default;" );
405+ " public:\n "
406+ " Fred();\n "
407+ " int x;\n "
408+ " };\n "
409+ " Fred::Fred()=default;" );
410410 ASSERT_EQUALS (" [test.cpp:3]: (warning) Member variable 'Fred::x' is not initialized in the constructor.\n " , errout.str ());
411411
412- check (" class Fred {\n "
413- " public:\n "
414- " Fred() = default;\n "
415- " private:\n "
416- " int x = 0;\n "
417- " };" );
418- ASSERT_EQUALS (" " , errout.str ());
412+ check (" class Fred {\n "
413+ " public:\n "
414+ " Fred() = default;\n "
415+ " private:\n "
416+ " int x = 0;\n "
417+ " };" );
418+ ASSERT_EQUALS (" " , errout.str ());
419419 }
420420
421421 void simple11 () { // ticket #4536, #6214
You can’t perform that action at this time.
0 commit comments