Exemple #1
0
 /**
  * @covers adamblake\parse\Parse::detectEol
  */
 public function testDetectEolDetectsLineEndingsBuiltWithPHPEOL()
 {
     $phpEOL = 'This is text.' . PHP_EOL . 'This is text.' . PHP_EOL . 'This is tex';
     $this->assertEquals(PHP_EOL, Parse::detectEol($phpEOL));
 }