From 2d8a349ce729d54307ef6cbb9cb0673bc23c473e Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 26 Jun 2024 19:49:28 +0200 Subject: [PATCH] Reorder lines --- .../framework/tests/Feature/IncludesFacadeTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/framework/tests/Feature/IncludesFacadeTest.php b/packages/framework/tests/Feature/IncludesFacadeTest.php index c2300c32520..4b2a1426a2f 100644 --- a/packages/framework/tests/Feature/IncludesFacadeTest.php +++ b/packages/framework/tests/Feature/IncludesFacadeTest.php @@ -223,33 +223,33 @@ public function testIncludesUsageFromBladeView() // Emulates the actual usage of the Includes facade from a Blade view. $this->file('resources/includes/foo.blade.php', '

{{ "Rendered Blade" }}

'); - $this->file('resources/includes/foo.md', '# Compiled Markdown'); $this->file('resources/includes/foo.html', '

Literal HTML

'); + $this->file('resources/includes/foo.md', '# Compiled Markdown'); $view = <<<'BLADE' // With extension + {!! Includes::html('foo.html') !!} {!! Includes::blade('foo.blade.php') !!} {!! Includes::markdown('foo.md') !!} - {!! Includes::html('foo.html') !!} // Without extension + {!! Includes::html('foo') !!} {!! Includes::blade('foo') !!} {!! Includes::markdown('foo') !!} - {!! Includes::html('foo') !!} BLADE; $expected = <<<'HTML' // With extension +

Literal HTML

Rendered Blade

Compiled Markdown

-

Literal HTML

// Without extension +

Literal HTML

Rendered Blade

Compiled Markdown

-

Literal HTML

HTML; $this->assertSame($expected, Blade::render($view));