예제 #1
0
 public function testRemoveLines()
 {
     $this->file->removeLines([0, 1]);
     unset($this->data[0]);
     unset($this->data[1]);
     $this->assertEquals(implode("\n", $this->data), $this->file->content());
 }
예제 #2
0
 public function removeLines($lineNumbers)
 {
     $this->file->removeLines($lineNumbers);
     $this->refreshAllLinesTextFileClassVariables();
     return $this;
 }