Skip to content

Commit fe2717f

Browse files
committed
Fixed testrunner
1 parent 67b1698 commit fe2717f

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

test/testother.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,16 +1246,6 @@ class TestOther : public TestFixture {
12461246
" if (currtime > t) {}\n"
12471247
" }\n"
12481248
"}", "test.c");
1249-
ASSERT_EQUALS("", errout.str());
1250-
1251-
check("void f() {\n"
1252-
" time_t currtime;\n"
1253-
" if (a) {\n"
1254-
" int x = 123;\n"
1255-
" currtime = time(&dummy);\n"
1256-
" if (currtime > t) {}\n"
1257-
" }\n"
1258-
"}", "test.c");
12591249
ASSERT_EQUALS("[test.c:2]: (style) The scope of the variable 'currtime' can be reduced.\n", errout.str());
12601250
}
12611251

0 commit comments

Comments
 (0)