Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 authored and ti-chi-bot committed Jun 29, 2021
1 parent 2d52fa8 commit 53c0ce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (s *utilsSuite) TestProxyFields(c *check.C) {
}

func (s *utilsSuite) TestVerifyPdEndpoint(c *check.C) {
defer testleak.AfterTest(c)()
// empty URL.
url := ""
c.Assert(verifyPdEndpoint(url, false), check.ErrorMatches, ".*PD endpoint should be a valid http or https URL.*")
Expand Down

0 comments on commit 53c0ce5

Please sign in to comment.