diff --git a/tests/sampler/test_parfor.cpp b/tests/sampler/test_parfor.cpp index d3435f68a..ce75c09b7 100644 --- a/tests/sampler/test_parfor.cpp +++ b/tests/sampler/test_parfor.cpp @@ -70,18 +70,17 @@ TEST(SamplerTest, ktoEnvVarDefault) { EXPECT_THAT(output.str(), HasSubstr(matcher)); } // end TEST - EXPECT_THAT(output.str(), Contains.::testing:: - : Times(AtMost(2), "calling child-begin function...")); + EXPECT_THAT(output.str(), Contains.Times(AtMost(2), "calling child-begin function...")); EXPECT_THAT(output.str(), - Contains.::testing::Times(AtMost(2), + Contains.Times(AtMost(2), "finished with child-begin function.")); - EXPECT_THAT(output.str(), Contains.::testing::Times( + EXPECT_THAT(output.str(), Contains.Times( AtMost(2), "calling child-end function...")); EXPECT_THAT(output.str(), - Contains.::testing::Times(AtMost(2), + Contains.Times(AtMost(2), "finished with child-end function.")); EXPECT_THAT(output.str(), Not(HasSubstr("KokkosP: FATAL: No child library of "