File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3334,6 +3334,7 @@ class TestBufferOverrun : public TestFixture {
33343334
33353335 void buffer_overrun_errorpath () {
33363336 setMultiline ();
3337+ const Settings settingsOld = settings0;
33373338 settings0.templateLocation = " {file}:{line}:note:{info}" ;
33383339
33393340 check (" void f() {\n "
@@ -3343,6 +3344,10 @@ class TestBufferOverrun : public TestFixture {
33433344 ASSERT_EQUALS (" test.cpp:3:error:Buffer is accessed out of bounds: p\n "
33443345 " test.cpp:2:note:Assign p, buffer with size 10\n "
33453346 " test.cpp:3:note:Buffer overrun\n " , errout.str ());
3347+
3348+ // TODO: need to reset this but it breaks other tests
3349+ (void )settingsOld;
3350+ // settings0 = settingsOld;
33463351 }
33473352
33483353 void buffer_overrun_bailoutIfSwitch () {
You can’t perform that action at this time.
0 commit comments