HomePhabricator

Fix failing unit test.

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

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jun 18 2014, 12:32 AM
Reviewer
Blessed Reviewers
Differential Revision
D9615: Fix failing unit test.
Parents
rPHUe91d4e2c07ab: Pass additional arguments to the `PhabricatorDaemonEventListener`.
Branches
Unknown
Tags
Unknown

Event Timeline