Skip to content

Commit

Permalink
Update HeadingRendererUnitTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 4, 2024
1 parent 83580c9 commit 4d318d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/tests/Unit/HeadingRendererUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function testCanRenderHeading()
$this->assertStringContainsString('<h2', $rendered);
$this->assertStringContainsString('</h2>', $rendered);

$this->assertSame('<h2>Test Heading<a id="test-heading" href="#test-heading" class="heading-permalink" title="Permalink"></a></h2>', $rendered);
$this->assertSame('<h2 id="test-heading">Test Heading<a href="#test-heading" class="heading-permalink" title="Permalink"></a></h2>', $rendered);
}

public function testAddsPermalinkToValidHeadings()
Expand Down

0 comments on commit 4d318d5

Please sign in to comment.