Skip to content

Commit

Permalink
Use the correct error name for TestAnchorInternalUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
divinerites committed Aug 4, 2021
1 parent 024a1c2 commit 829c696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmltest/check-link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 829c696

Please sign in to comment.