Skip to content

Commit

Permalink
Use a correct syntax for TestAnchorInternalUrlOption
Browse files Browse the repository at this point in the history
  • Loading branch information
divinerites committed Aug 4, 2021
1 parent 295f004 commit 024a1c2
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 @@ -503,7 +503,7 @@ func TestAnchorInternalUrl(t *testing.T) {
func TestAnchorInternalUrlOption(t *testing.T) {
// passes for internal linking writen in IgnoreInternalURLs option (#168)
hT := tTestFileOpts("fixtures/links/link_directory_internal_valid.html",
map[string]interface{}{"IgnoreInternalURLs": "/misc/js/script.js"})
map[string]interface{}{"IgnoreInternalURLs": []interface{}{"/misc/js/script.js"}})
tExpectIssueCount(t, hT, 0)
}

Expand Down

0 comments on commit 024a1c2

Please sign in to comment.