Skip to content

Commit b558720

Browse files
committed
Update RelativeLinksAcrossPagesRetainsIntegrityTest.php
1 parent 395dbfb commit b558720

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/framework/tests/Unit/RelativeLinksAcrossPagesRetainsIntegrityTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ public function testRelativeLinksAcrossPagesRetainsIntegrity()
7373
'<link rel="stylesheet" href="media/app.css">',
7474
'<a href="index.html"',
7575
'<a href="docs/index.html"',
76-
'<a href="root.html" aria-current="page"',
76+
'<a href="root.html"',
7777
'<a href="root1.html"',
7878
'<a href="nested/level1.html"',
7979
'<a href="nested/level1b.html"',
80+
'aria-current="page"',
8081
]);
8182

8283
$this->assertSee('nested/level1', [
@@ -85,8 +86,9 @@ public function testRelativeLinksAcrossPagesRetainsIntegrity()
8586
'<a href="../docs/index.html"',
8687
'<a href="../root.html"',
8788
'<a href="../root1.html"',
88-
'<a href="../nested/level1.html" aria-current="page"',
89+
'<a href="../nested/level1.html"',
8990
'<a href="../nested/level1b.html"',
91+
'aria-current="page"'
9092
]);
9193

9294
$this->assertSee('docs/index', [

0 commit comments

Comments
 (0)