예제 #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);
 }