Skip to content

Commit 00c01db

Browse files
author
alexandre.monterroso
committed
Add some indentation
1 parent 8d35ec4 commit 00c01db

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

core/src/main/java/cucumber/runtime/formatter/PrettyFormatter.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,16 @@ private void handleWrite(WriteEvent event) {
154154
out.println();
155155
BufferedReader lines = new BufferedReader(new StringReader(event.text));
156156
try {
157-
String line = lines.readLine();
158-
while(line != null) {
159-
out.println(STEP_SCENARIO_INDENT + line);
160-
line = lines.readLine();
161-
}
162-
} catch (IOException e) {
163-
throw new CucumberException(e);
164-
}
165-
out.println();
157+
String line = lines.readLine();
158+
while(line != null) {
159+
out.println(STEP_SCENARIO_INDENT + line);
160+
line = lines.readLine();
166161
}
162+
} catch (IOException e) {
163+
throw new CucumberException(e);
164+
}
165+
out.println();
166+
}
167167

168168
private void finishReport() {
169169
out.close();

0 commit comments

Comments
 (0)