Skip to content

Commit

Permalink
fix tests to use exported method Validate()
Browse files Browse the repository at this point in the history
  • Loading branch information
shubheksha committed Jan 10, 2018
1 parent 93dfbf7 commit 9b1efff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/http_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestValidateHTTPConfig(t *testing.T) {
if err != nil {
t.Errorf("Error loading HTTP client config: %v", err)
}
err = cfg.validate()
err = cfg.Validate()
if err != nil {
t.Fatalf("Error validating %s: %s", "testdata/http.conf.good.yml", err)
}
Expand Down

0 comments on commit 9b1efff

Please sign in to comment.