예제 #1
0
파일: FileTest.php 프로젝트: phpml/phpml
 public function testCannotFindMultipleNeedles()
 {
     $file = new File(FILES_DIR . 'find_1');
     $this->assertFalse($file->find(array('</div>', '<ph:', '</ph:')));
     $this->assertEquals(0, $file->getCurrentPos());
     $this->assertEquals(1, $file->getCurrentLine());
 }