File tree 1 file changed +9
-9
lines changed
core/src/main/java/cucumber/runtime/formatter
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -154,16 +154,16 @@ private void handleWrite(WriteEvent event) {
154
154
out .println ();
155
155
BufferedReader lines = new BufferedReader (new StringReader (event .text ));
156
156
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 ();
166
161
}
162
+ } catch (IOException e ) {
163
+ throw new CucumberException (e );
164
+ }
165
+ out .println ();
166
+ }
167
167
168
168
private void finishReport () {
169
169
out .close ();
You can’t perform that action at this time.
0 commit comments