void (@NotNull final T runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { if (runner.getCurrentRerunStep() == 0) { assertEquals("test with docstring produced bad tree", """ Test tree: [root](-) .test_test(-) ..SomeTestCase(-) ...testSomething (Only with docstring test is parsed with extra space)(+) ...testSomethingBad (Fail)(-) """, runner.getFormattedTestTree()); } else { assertEquals("test with docstring failed to rerun", """ Test tree: [root](-) .test_test(-) ..SomeTestCase(-) ...testSomethingBad (Fail)(-) """, runner.getFormattedTestTree()); } }