Skip to content

Commit

Permalink
Update BasicTemplateTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed May 10, 2023
1 parent dbb7550 commit d73bf3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/BasicTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testItCompilesPartials()
{{ /%isolated_partial }}
EXPECTED;

$this->assertSame($expected, trim($this->compiler->compile($template)));
$this->assertSame(StringUtilities::normalizeLineEndings($expected), trim($this->compiler->compile($template)));
}

public function testItCompilesIsolatedPartials()
Expand All @@ -37,7 +37,7 @@ public function testItCompilesIsolatedPartials()
{{ /%isolated_partial }}
EXPECTED;

$this->assertSame($expected, trim($this->compiler->compile($template)));
$this->assertSame(StringUtilities::normalizeLineEndings($expected), trim($this->compiler->compile($template)));
}

public function testItCompilesAlternativeSyntax()
Expand All @@ -54,7 +54,7 @@ public function testItCompilesAlternativeSyntax()
{{ /%isolated_partial }}
EXPECTED;

$this->assertSame($expected, trim($this->compiler->compile($template)));
$this->assertSame(StringUtilities::normalizeLineEndings($expected), trim($this->compiler->compile($template)));
}

public function testItCompilesLivewireComponents()
Expand All @@ -69,7 +69,7 @@ public function testItCompilesLivewireComponents()
{{ %livewire:counter /}}
EXPECTED;

$this->assertSame($expected, trim($this->compiler->compile($template)));
$this->assertSame(StringUtilities::normalizeLineEndings($expected), trim($this->compiler->compile($template)));
}

public function testItCompilesBladeComponents()
Expand All @@ -86,7 +86,7 @@ public function testItCompilesBladeComponents()
{{ /%blade_host:component }}
EXPECTED;

$this->assertSame($expected, trim($this->compiler->compile($template)));
$this->assertSame(StringUtilities::normalizeLineEndings($expected), trim($this->compiler->compile($template)));
}

public function testItCompilesEverythingTogether()
Expand Down

0 comments on commit d73bf3b

Please sign in to comment.