Skip to content

Commit a39c128

Browse files
sormurasmarcphilipp
authored andcommitted
Fix text format pattern in VerboseTreePrintingListener
Prior to this commit only the display name and the string " dynamically registered%n" was emitted. Now, the trailing "%n" is parsed and interpreted as a new line character.
1 parent 1e7fc96 commit a39c128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-platform-console/src/main/java/org/junit/platform/console/tasks/VerboseTreePrintingListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void executionSkipped(TestIdentifier testIdentifier, String reason) {
120120
public void dynamicTestRegistered(TestIdentifier testIdentifier) {
121121
printVerticals(theme.entry());
122122
printf(Color.DYNAMIC, " %s", testIdentifier.getDisplayName());
123-
printf(NONE, "%s", " dynamically registered%n");
123+
printf(NONE, "%s%n", " dynamically registered");
124124
}
125125

126126
@Override

0 commit comments

Comments
 (0)