Fix system tests for Go 1.5.

Some error strings in Go 1.5 have changed. Until we have something
better for that, use string replace.
This commit is contained in:
Andrey Smirnov
2015-09-22 12:40:42 +03:00
parent c160cbccc7
commit 08bc5ac934
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -59,6 +59,7 @@ class IncludeRepo3Test(BaseTest):
]
runCmd = "aptly repo include -no-remove-files -keyring=${files}/aptly.pub -repo=my-{{.Distribution} ${changes}"
expectedCode = 1
outputMatchPrepare = lambda _, s: s.replace('; missing space?', '')
class IncludeRepo4Test(BaseTest):