Page MenuHomePhorge

D25800.1726849033.diff
No OneTemporary

D25800.1726849033.diff

diff --git a/src/parser/xhpast/__tests__/PHPASTParserTestCase.php b/src/parser/xhpast/__tests__/PHPASTParserTestCase.php
--- a/src/parser/xhpast/__tests__/PHPASTParserTestCase.php
+++ b/src/parser/xhpast/__tests__/PHPASTParserTestCase.php
@@ -82,7 +82,7 @@
case 'pass':
$this->assertEqual(0, $err, pht('Exit code for "%s".', $name));
- if (!strlen($expect)) {
+ if (!phutil_nonempty_string($expect)) {
// If there's no "expect" data in the test case, that's OK.
break;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 20, 16:17 (15 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
893239
Default Alt Text
D25800.1726849033.diff (535 B)

Event Timeline