From aa53b8da15b1564ded13ffc3ae34abb7a8cc170d Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 18 Apr 2016 12:47:00 +0300 Subject: [PATCH] Go 1.6. --- .travis.yml | 2 +- deb/remote_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3ce97535..917caf63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ sudo: false language: go go: - - 1.4 - 1.5 + - 1.6 - tip addons: diff --git a/deb/remote_test.go b/deb/remote_test.go index 7d0f64dc..7fdb9b24 100644 --- a/deb/remote_test.go +++ b/deb/remote_test.go @@ -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) {