mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed broken i18nTest on Windows because of newline character differences
This commit is contained in:
parent
b559b9ba53
commit
ff63ba97fb
@ -176,11 +176,11 @@ class i18nTest extends SapphireTest {
|
||||
$viewer = new SSViewer('i18nTestModule');
|
||||
$parsedHtml = $viewer->process(new ArrayData(array('TestProperty' => 'TestPropertyValue')));
|
||||
$this->assertContains(
|
||||
"Layout Template\n",
|
||||
sprintf("Layout Template%s", PHP_EOL),
|
||||
$parsedHtml
|
||||
);
|
||||
$this->assertContains(
|
||||
"Layout Template no namespace\n",
|
||||
sprintf("Layout Template no namespace%s", PHP_EOL),
|
||||
$parsedHtml
|
||||
);
|
||||
|
||||
@ -197,11 +197,11 @@ class i18nTest extends SapphireTest {
|
||||
$viewer = new SSViewer('i18nTestModule');
|
||||
$parsedHtml = $viewer->process(new ArrayData(array('TestProperty' => 'TestPropertyValue')));
|
||||
$this->assertContains(
|
||||
"TRANS Main Template\n",
|
||||
sprintf("TRANS Main Template%s", PHP_EOL),
|
||||
$parsedHtml
|
||||
);
|
||||
$this->assertContains(
|
||||
"TRANS Layout Template\n",
|
||||
sprintf("TRANS Layout Template%s", PHP_EOL),
|
||||
$parsedHtml
|
||||
);
|
||||
$this->assertContains(
|
||||
|
Loading…
x
Reference in New Issue
Block a user