コード例 #1
0
ファイル: TextTest.php プロジェクト: puwenhan/Text
 public function testOutdent()
 {
     $text = new Text("    This is line1\n" . "   This is line2\r\n" . "     This is line3\n");
     $text->outdent();
     $expected = "This is line1\n" . "This is line2\r\n" . " This is line3\n";
     $this->assertEquals($expected, $text);
 }