This commit is contained in:
Andrey Smirnov committed 2016-04-18 12:47:00 +03:00
1 parent 52f7c83f95
commit aa53b8da15
2 files changed
+2 -2

No files matched your search

+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) {