コード例 #1
0
ファイル: TextTest.php プロジェクト: puwenhan/Text
 public function testLtrim()
 {
     $text = new Text("\n foo\t\r\n");
     $this->assertEquals("foo\t\r\n", $text->ltrim());
     $text = new Text('/foo/');
     $this->assertEquals('foo/', $text->ltrim('/'));
 }