Skip to content

Commit 899dde9

Browse files
committed
update tests of print info
1 parent 53764d8 commit 899dde9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/source_io/test/print_info_test.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,16 @@ TEST_F(PrintInfoTest, PrintScreen)
186186
testing::internal::CaptureStdout();
187187
ModuleIO::print_screen(stress_step, force_step, istep);
188188
output = testing::internal::GetCapturedStdout();
189-
EXPECT_THAT(output,testing::HasSubstr("STEP OF ION RELAXATION"));
189+
EXPECT_THAT(output,testing::HasSubstr("RELAX STEP"));
190190
}
191191
else if(PARAM.input.calculation=="cell-relax")
192192
{
193193
testing::internal::CaptureStdout();
194194
ModuleIO::print_screen(stress_step, force_step, istep);
195195
output = testing::internal::GetCapturedStdout();
196-
EXPECT_THAT(output,testing::HasSubstr("RELAX CELL"));
197-
EXPECT_THAT(output,testing::HasSubstr("RELAX IONS"));
196+
EXPECT_THAT(output,testing::HasSubstr("RELAX STEP"));
197+
EXPECT_THAT(output,testing::HasSubstr("CELL_CHANGE#"));
198+
EXPECT_THAT(output,testing::HasSubstr("IONS_CHANGE#"));
198199
}
199200
}
200201
}

0 commit comments

Comments
 (0)