Skip to content

Commit

Permalink
. d Correct snippet tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBob committed Feb 28, 2025
1 parent b721f2d commit b0cde6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ Collection<DynamicTest> testFactory2()
}
}));
}
// begin_snippet: java_dynamic_test
// begin-snippet: java_dynamic_test
@TestFactory
Collection<DynamicTest> testFactory3()
{
return Stream.of(1, 2).map(number -> JupiterApprovals.dynamicTest("test " + number,
o -> Approvals.verify("content for " + number, o))).collect(Collectors.toList());
}
// end_snippet
// end-snippet
}

0 comments on commit b0cde6e

Please sign in to comment.