Skip to content

Commit

Permalink
Revert "correct EOL for multiplatform"
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed May 19, 2015
1 parent 23f0e60 commit 6e21962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/View/ViewCompilerEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function testViewsMayBeRecompiledAndRendered()
$engine->getCompiler()->shouldReceive('compile')->once()->with(__DIR__.'/fixtures/foo.php');
$results = $engine->get(__DIR__.'/fixtures/foo.php');

$this->assertEquals("Hello World" . PHP_EOL, $results);
$this->assertEquals("Hello World\n", $results);
}


Expand All @@ -31,7 +31,7 @@ public function testViewsAreNotRecompiledIfTheyAreNotExpired()
$engine->getCompiler()->shouldReceive('compile')->never();
$results = $engine->get(__DIR__.'/fixtures/foo.php');

$this->assertEquals("Hello World" . PHP_EOL, $results);
$this->assertEquals("Hello World\n", $results);
}


Expand Down
2 changes: 1 addition & 1 deletion tests/View/ViewPhpEngineTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function tearDown()
public function testViewsMayBeProperlyRendered()
{
$engine = new PhpEngine;
$this->assertEquals("Hello World" . PHP_EOL, $engine->get(__DIR__.'/fixtures/basic.php'));
$this->assertEquals("Hello World\n", $engine->get(__DIR__.'/fixtures/basic.php'));
}

}

0 comments on commit 6e21962

Please sign in to comment.