Skip to content

Commit 0fd1f82

Browse files
Add test
1 parent a7c5ddf commit 0fd1f82

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/unit/Util/PHP/DefaultJobRunnerTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ public static function provider(): array
8888
arguments: ['test'],
8989
),
9090
],
91+
'input from stdin' => [
92+
new Result('test', ''),
93+
new Job(
94+
<<<'EOT'
95+
<?php declare(strict_types=1);
96+
print file_get_contents('php://stdin');
97+
98+
EOT,
99+
input: 'test',
100+
),
101+
],
91102
];
92103
}
93104

0 commit comments

Comments
 (0)