Skip to content

Commit e4d35a2

Browse files
committed
Add PHP_EOL to test script
1 parent 1000205 commit e4d35a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
$code = file_get_contents(__DIR__ . '/assets/admin.php');
88
try {
99
$code = \Ganlv\EnphpDecoder\AutoDecoder::decode($code);
10-
echo $code;
10+
echo $code, PHP_EOL;
1111
} catch (Exception $e) {
1212
echo $e->getTraceAsString();
1313
exit(1);
@@ -16,7 +16,7 @@
1616
$code = file_get_contents(__DIR__ . '/assets/index.php');
1717
try {
1818
$code = \Ganlv\EnphpDecoder\AutoDecoder::decode($code);
19-
echo $code;
19+
echo $code, PHP_EOL;
2020
} catch (Exception $e) {
2121
echo $e->getTraceAsString();
2222
exit(2);

0 commit comments

Comments
 (0)