Skip to content

Commit

Permalink
Remove parenthetical number from test name
Browse files Browse the repository at this point in the history
  • Loading branch information
katcharov committed Dec 2, 2024
1 parent aabe9c5 commit 6b53427
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,7 @@ protected static Collection<Arguments> getTestData(final String directory, final
}

for (int attempt = 1; attempt <= attempts; attempt++) {
String testName = !retry
? MessageFormat.format("{0}: {1}", fileDescription, testDescription)
: MessageFormat.format(
"{0}: {1} ({2} of {3})",
fileDescription, testDescription, attempt, attempts);
String testName = MessageFormat.format("{0}: {1}", fileDescription, testDescription);
data.add(Arguments.of(
testName,
fileDescription,
Expand Down

0 comments on commit 6b53427

Please sign in to comment.