Skip to content

Commit

Permalink
Update cmd/util_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored Jul 19, 2021
1 parent fdd0204 commit d71bdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (s *utilsSuite) TestVerifyPdEndpoint(c *check.C) {
c.Assert(verifyPdEndpoint(url, false), check.ErrorMatches, ".*PD endpoint should be a valid http or https URL.*")

// invalid URL.
url = "\n hi"
url = "\r hi"
c.Assert(verifyPdEndpoint(url, false), check.ErrorMatches, ".*invalid control character in URL.*")

// http URL without host.
Expand Down

0 comments on commit d71bdb4

Please sign in to comment.