Skip to content

Commit 15e3959

Browse files
committed
Improve test suite to avoid terminal output when run interactively
1 parent 6b5d87e commit 15e3959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/FunctionalExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testStubCanCloseStdoutAndIsNotWritable()
110110

111111
public function testStubCanEndWithoutOutput()
112112
{
113-
$output = $this->execExample('php ../tests/stub/04-end.php');
113+
$output = $this->execExample('php ../tests/stub/04-end.php < /dev/null');
114114

115115
$this->assertEquals('', $output);
116116
}

0 commit comments

Comments
 (0)