Skip to content

Commit 226ab36

Browse files
committed
CS
1 parent 69fa042 commit 226ab36

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/ExerciseRunner/CliRunnerTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,12 @@ public function testRunPassesOutputAndReturnsFailureIfScriptFails()
224224

225225
public function testsArgsAppendedByEventsArePassedToResults()
226226
{
227-
$this->eventDispatcher->listen(['cli.verify.student-execute.pre', 'cli.verify.reference-execute.pre'], function (CliExecuteEvent $e) {
228-
$e->appendArg('4');
229-
});
227+
$this->eventDispatcher->listen(
228+
['cli.verify.student-execute.pre', 'cli.verify.reference-execute.pre'],
229+
function (CliExecuteEvent $e) {
230+
$e->appendArg('4');
231+
}
232+
);
230233

231234
$solution = SingleFileSolution::fromFile(realpath(__DIR__ . '/../res/cli/solution.php'));
232235
$this->exercise

0 commit comments

Comments
 (0)