Skip to content

Commit

Permalink
Improving test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyr committed Jul 22, 2018
1 parent d0e540a commit 7d44ba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/inputs/x509_cert/x509_cert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ func TestGatherRemote(t *testing.T) {
}{
{server: ":99999", timeout: 0, close: false, unset: false, error: true},
{server: "", timeout: 5, close: false, unset: false, error: false},
{server: "https://example.org", timeout: 5, close: false, unset: false, error: false},
{server: "file://", timeout: 5, close: false, unset: false, error: false},
{server: "", timeout: 5, close: false, unset: true, error: true},
{server: "", timeout: 0, close: true, unset: false, error: true},
{server: "", timeout: 5, close: false, unset: false, noshake: true, error: true},
Expand Down

0 comments on commit 7d44ba3

Please sign in to comment.