Skip to content

Commit

Permalink
Adding test case for IgnoreSSLVerify option
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan GAZEAU committed Apr 26, 2019
1 parent d1da91e commit c580c11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htmltest/check-link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,13 @@ func TestAnchorBlankHTML4(t *testing.T) {
func TestSelfSignedLink(t *testing.T) {
hT := tTestFileOpts("fixtures/links/selfSignedLink.html",
map[string]interface{}{"IgnoreSSLVerify": false})
tExpectIssueCount(t, hT, 0)
tExpectIssueCount(t, hT, 1)
}

func TestSelfSignedLinkIgnoreSSLVerify(t *testing.T) {
hT := tTestFileOpts("fixtures/links/selfSignedLink.html",
map[string]interface{}{"IgnoreSSLVerify": true})
tExpectIssueCount(t, hT, 1)
tExpectIssueCount(t, hT, 0)
}

// Favicon
Expand Down

0 comments on commit c580c11

Please sign in to comment.