Skip to content

Commit

Permalink
Update HtmlBlock Test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel committed Nov 21, 2023
1 parent f85490d commit 463f101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Renderer/Block/HtmlBlockRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function it_renders_paragraph(): void
$result = $this->renderer->render($block, $fakeRenderer);

$this->assertIsString($result);
$this->assertEquals('<!-- This is a comment -->', $result);
$this->assertEquals("<!-- This is a comment -->\n", $result);
}

#[Test]
Expand All @@ -56,6 +56,7 @@ public function it_renders_cdata_html(): void
<![CDATA[
<h1>Hello World</h1>
]]>
HTML, $result);
}

Expand Down

0 comments on commit 463f101

Please sign in to comment.