We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a92d95 commit 492a55eCopy full SHA for 492a55e
tests/CommandTest.php
@@ -226,12 +226,12 @@ public function testCanProvideProcDir()
226
}
227
public function testCanRunCommandWithStandardInput()
228
{
229
- $command = new Command('head');
230
- $command->addArg('-n', 1);
231
- $command->setStdIn("1\n2\n3\n");
+ $command = new Command('/bin/cat');
+ $command->addArg('-T');
+ $command->setStdIn("\t");
232
$this->assertTrue($command->execute());
233
$this->assertTrue($command->getExecuted());
234
- $this->assertEquals("1", $command->getOutput());
+ $this->assertEquals("^I", $command->getOutput());
235
236
237
0 commit comments