Commit c2fd3317 authored by Nick Thomas's avatar Nick Thomas Committed by Jacob Vosmaer (GitLab)

Run tests against Go 1.10 and fix a bug exposed by doing so

parent 50eeaa4f
......@@ -13,6 +13,10 @@ test using go 1.9:
image: golang:1.9
<<: *test_definition
test using go 1.10:
image: golang:1.10
<<: *test_definition
test:release:
only:
- tags
......
......@@ -85,7 +85,7 @@ func TestComplainingWriterSanity(t *testing.T) {
w.CheerUp()
if _, err := io.Copy(w, testReader(testData)); err != nil {
t.Error("copy after CheerUp: %v", err)
t.Errorf("copy after CheerUp: %v", err)
}
if result := recorder.String(); result != testData {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment