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 fd0744b commit d1da91e
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 @@ -564,13 +564,13 @@ func TestAnchorBlankHTML4(t *testing.T) {

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

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

Expand Down

0 comments on commit d1da91e

Please sign in to comment.