Skip to content

Commit

Permalink
fix runtime markdown tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed May 21, 2024
1 parent 158091e commit da00fc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Antlers/Runtime/Fieldtypes/MarkdownFieldtypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public function test_markdown_with_antlers_evaluates_correctly()
$this->assertSame('<p>2019</p>', trim((string) $this->parser()->cascade($cascade)->render('{{ settings:field_name }}', $data)));

$expected = <<<'EOT'
<p>No.
Yes.
3 is bigger
2019
<p>No.<br />
Yes.<br />
3 is bigger<br />
2019<br />
Just some content</p>
EOT;

Expand Down

0 comments on commit da00fc7

Please sign in to comment.