Homec4science

Fix failing unit test.

Authored by Joshua Spence <josh@joshuaspence.com> on Jun 18 2014, 02:32.

Description

Fix failing unit test.

Summary: On PHP versions earlier than 5.4.0, \e is not a valid PHP escape character. Consequently, PhutilUTF8TestCase::testUTF8ConsoleStrlen will fail. Replace \e by its hexadecimal equivalent.

Test Plan: Ran unit tests.

Reviewers: hach-que, epriestley, #blessed_reviewers

Reviewed By: hach-que, epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9615

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jun 18 2014, 02:32
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUe91d4e2c07ab: Pass additional arguments to the `PhabricatorDaemonEventListener`.
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHU50185a502e91: Fix failing unit test. (authored by Joshua Spence <josh@joshuaspence.com>).Jun 18 2014, 02:32