Skip to content

Commit

Permalink
Update MarkdownServiceTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 4, 2024
1 parent 1825db8 commit 04fd590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/tests/Feature/MarkdownServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testServiceCanParseMarkdownToHtmlWithPermalinksDependingOnConfig
$this->assertIsString($html);
$this->assertStringContainsString('heading-permalink', $html, 'Permalink should be added to documentation pages by default');
$this->assertSame(
'<h2>Hello World!<a id="hello-world" href="#hello-world" class="heading-permalink" title="Permalink"></a></h2>'."\n", $html
'<h2 id="hello-world">Hello World!<a href="#hello-world" class="heading-permalink" title="Permalink"></a></h2>'."\n", $html
);

$html = (new MarkdownService($markdown))->parse();
Expand Down

0 comments on commit 04fd590

Please sign in to comment.