Skip to content

Commit 170782a

Browse files
committed
Test fix
1 parent b7e889a commit 170782a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsingleexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class TestSingleExecutorBase : public TestFixture {
267267
dinit(CheckOptions,
268268
$.showtime = SHOWTIME_MODES::SHOWTIME_FILE));
269269
const std::string output_s = GET_REDIRECT_OUTPUT;
270-
ASSERT_EQUALS(1, cppcheck::count_all_of(output_s, "Overall time:"));
270+
ASSERT_EQUALS(0, cppcheck::count_all_of(output_s, "Overall time:"));
271271
}
272272

273273
void showtime_summary() {

test/testthreadexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class TestThreadExecutorBase : public TestFixture {
259259
dinit(CheckOptions,
260260
$.showtime = SHOWTIME_MODES::SHOWTIME_FILE));
261261
const std::string output_s = GET_REDIRECT_OUTPUT;
262-
ASSERT_EQUALS(1, cppcheck::count_all_of(output_s, "Overall time:"));
262+
ASSERT_EQUALS(0, cppcheck::count_all_of(output_s, "Overall time:"));
263263
}
264264

265265
void showtime_summary() {

0 commit comments

Comments
 (0)