Skip to content

Commit 8447c12

Browse files
AydinHassanmikeymike
authored andcommitted
Remove new line
1 parent 9bb716b commit 8447c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ExerciseRunner/CliRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function run($fileName, OutputInterface $output)
143143
$output->write(implode($glue, $args->getArrayCopy()));
144144
}
145145

146-
$output->writeTitle("\nOutput");
146+
$output->writeTitle("Output");
147147
$process = $this->getPhpProcess($fileName, $args);
148148
$process->start();
149149
$this->eventDispatcher->dispatch(new CliExecuteEvent('cli.run.executing', $args, ['output' => $output]));

test/ExerciseRunner/CliRunnerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function testRunPassesOutputAndReturnsSuccessIfScriptIsSuccessful()
136136

137137
$exp = "\n\e[1m\e[4mArguments\e[0m\e[0m\n";
138138
$exp .= "1, 2, 3\n";
139-
$exp .= "\e[1m\e[4m\n";
139+
$exp .= "\e[1m\e[4m";
140140
$exp .= "Output\e[0m\e[0m\n";
141141
$exp .= "6\n";
142142

0 commit comments

Comments
 (0)