diff --git a/junit-platform-console/src/main/java/org/junit/platform/console/tasks/VerboseTreePrintingListener.java b/junit-platform-console/src/main/java/org/junit/platform/console/tasks/VerboseTreePrintingListener.java index cfc02f7e7db1..c6bd686b5a5c 100644 --- a/junit-platform-console/src/main/java/org/junit/platform/console/tasks/VerboseTreePrintingListener.java +++ b/junit-platform-console/src/main/java/org/junit/platform/console/tasks/VerboseTreePrintingListener.java @@ -120,7 +120,7 @@ public void executionSkipped(TestIdentifier testIdentifier, String reason) { public void dynamicTestRegistered(TestIdentifier testIdentifier) { printVerticals(theme.entry()); printf(Color.DYNAMIC, " %s", testIdentifier.getDisplayName()); - printf(NONE, "%s", " dynamically registered%n"); + printf(NONE, "%s%n", " dynamically registered"); } @Override