From 173218895c55f381750408d9452d118b8c574f58 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 17 Feb 2019 17:25:41 +0100 Subject: [PATCH] tests: fix compile error in matrix_test.go Error was: tests/matrix/matrix_test.go:101:9: no new variables on left side of := --- tests/matrix/matrix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 65dd691..317158a 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -98,7 +98,7 @@ func testWriteN(t *testing.T, fn string, n int) string { } d := make([]byte, n) - _, err := file.Write(d) + _, err = file.Write(d) if err != nil { t.Fatal(err) }