Skip to content

Commit 15741a8

Browse files
Improve test
1 parent eee5718 commit 15741a8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests/end-to-end/_files/phpt-env.expected.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/end-to-end/phpt/phpt-env.phpt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ PHPT runner should support ENV section
44
FOO=bar
55
--FILE--
66
<?php declare(strict_types=1);
7-
if (isset($_SERVER['FOO'])) {
8-
\var_dump($_SERVER['FOO']);
9-
}
10-
--EXPECTF_EXTERNAL--
11-
../_files/phpt-env.expected.txt
7+
print $_SERVER['FOO'];
8+
--EXPECT--
9+
bar

0 commit comments

Comments
 (0)