From 829c6968350ac9bec14f91bfb8c2dea51a84abb0 Mon Sep 17 00:00:00 2001 From: Didier Divinerites Date: Wed, 4 Aug 2021 16:40:16 +0200 Subject: [PATCH] Use the correct error name for TestAnchorInternalUrl --- htmltest/check-link_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htmltest/check-link_test.go b/htmltest/check-link_test.go index 39510f4..bc468e9 100644 --- a/htmltest/check-link_test.go +++ b/htmltest/check-link_test.go @@ -497,7 +497,7 @@ func TestAnchorInternalUrl(t *testing.T) { // fails for internal linking writen not in IgnoreInternalURLs (#168) hT := tTestFile("fixtures/links/link_directory_internal_invalid.html") tExpectIssueCount(t, hT, 1) - tExpectIssue(t, hT, "target is an internal URL not writen in IgnoreInternalURLs option", 1) + tExpectIssue(t, hT, "target does not exist", 1) } func TestAnchorInternalUrlOption(t *testing.T) {