This commit is contained in:
Andrey Smirnov
2016-04-18 12:47:00 +03:00
parent 52f7c83f95
commit aa53b8da15
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ func (s *RemoteRepoSuite) TearDownTest(c *C) {
func (s *RemoteRepoSuite) TestInvalidURL(c *C) {
_, err := NewRemoteRepo("s", "http://lolo%2", "squeeze", []string{"main"}, []string{}, false, false)
c.Assert(err, ErrorMatches, ".*(hexadecimal escape|percent-encoded characters) in host.*")
c.Assert(err, ErrorMatches, ".*(hexadecimal escape in host|percent-encoded characters in host|invalid URL escape).*")
}
func (s *RemoteRepoSuite) TestFlatCreation(c *C) {