Fixed failing tutorial tests
Change-Id: Idb9bcbe46e5b7c7d58ffdc9b9f826e4c965a3020
diff --git a/t/docnavi.t b/t/docnavi.t
index 122956f..ce522c7 100644
--- a/t/docnavi.t
+++ b/t/docnavi.t
@@ -244,9 +244,9 @@
$render = $app->doc_navi($navi);
like($render, qr!/doc/korap!, 'Path matches doc/korap');
like($render, qr!/doc/korap/krill!, 'Path matches korap/krill');
-like($render, qr!<a href="/doc/korap/krill">Krill</a>!,
+like($render, qr!<a href="/doc/korap/krill(?:#[^"]+)?">Krill</a>!,
'Path matches korap/krill');
-like($render, qr!<a href="/doc/faq">F\.A\.Q\.</a>!,
+like($render, qr!<a href="/doc/faq(?:#[^"]+)?">F\.A\.Q\.</a>!,
'Path matches FAQ');
# Change preferred language
@@ -255,9 +255,9 @@
$render = $app->doc_navi($navi);
like($render, qr!/doc/korap!, 'Path matches doc/korap');
like($render, qr!/doc/korap/krill!, 'Path matches korap/krill');
-like($render, qr!<a href="/doc/korap/krill">Krill</a>!,
+like($render, qr!<a href="/doc/korap/krill(?:#[^"]+)?">Krill</a>!,
'Path matches korap/krill');
-like($render, qr!<a href="/doc/faq">Häufige Fragen</a>!,
+like($render, qr!<a href="/doc/faq(?:#[^"]+)?">Häufige Fragen</a>!,
'Path matches FAQ');