Skip to content

Commit 51ead18

Browse files
committed
Adjust tests expectation
1 parent aaaf55b commit 51ead18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/source_cell/test/pseudo_nc_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ TEST_F(NCPPTest, PrintNC) {
114114
EXPECT_THAT(str, testing::HasSubstr("nchi 3"));
115115
EXPECT_THAT(str, testing::HasSubstr("nbeta 6"));
116116
EXPECT_THAT(str, testing::HasSubstr("dion : nr=6 nc=6"));
117-
EXPECT_THAT(str, testing::HasSubstr("msh\t1247"));
117+
EXPECT_THAT(str, testing::ContainsRegex(R"(msh 1247)"));
118118
ifs.close();
119119
remove("./tmp_log");
120120
}

0 commit comments

Comments
 (0)