Skip to content

Commit 1ab6cd1

Browse files
Disable colored output for e2e tests
1 parent b8fed3f commit 1ab6cd1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/end-to-end/default-help.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ captainhook -h
33
--FILE--
44
<?php
55
define('CH_TEST_BIN', $_SERVER['CH_TEST_BIN'] ?? 'bin/captainhook');
6-
echo shell_exec(CH_TEST_BIN . ' -h');
6+
echo shell_exec(CH_TEST_BIN . ' -h --no-ansi');
77
--EXPECTF_EXTERNAL--
88
../_files/e2e/help.txt

tests/end-to-end/default.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ captainhook
33
--FILE--
44
<?php
55
define('CH_TEST_BIN', $_SERVER['CH_TEST_BIN'] ?? 'bin/captainhook');
6-
echo shell_exec(CH_TEST_BIN);
6+
echo shell_exec(CH_TEST_BIN . ' --no-ansi');
77
--EXPECTF_EXTERNAL--
88
../_files/e2e/help.txt

0 commit comments

Comments
 (0)