Skip to content

Commit

Permalink
test_parfor.cpp: Times function
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Apr 5, 2024
1 parent 7f0a70d commit 89ea724
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/sampler/test_parfor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 89ea724

Please sign in to comment.