Skip to content

Commit

Permalink
Fix text format pattern in VerboseTreePrintingListener
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sormuras authored and marcphilipp committed Mar 17, 2019
1 parent 1e7fc96 commit a39c128
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a39c128

Please sign in to comment.