Changeset View
Changeset View
Standalone View
Standalone View
src/utils/__tests__/PhutilRopeTestCase.php
Context not available. | |||||
$string = $rope->getAsString(); | $string = $rope->getAsString(); | ||||
$this->assertEqual('bbcccrrrrddddddddd', $string); | $this->assertEqual('bbcccrrrrddddddddd', $string); | ||||
$this->assertEqual(strlen($string), $rope->getByteLength()); | $this->assertEqual(@strlen($string), $rope->getByteLength()); | ||||
$rope = new PhutilRope(); | $rope = new PhutilRope(); | ||||
$rope->append('aaa'); | $rope->append('aaa'); | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0