summaryrefslogtreecommitdiff
path: root/tests/matrix/matrix_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-02-17 17:25:41 +0100
committerJakob Unterwurzacher2019-02-17 17:25:41 +0100
commit173218895c55f381750408d9452d118b8c574f58 (patch)
tree65bd7f8594d900b08878e53184ddd2830e9042ba /tests/matrix/matrix_test.go
parent179471b6486b2cb3e6e24eed1d9f86f2e880e334 (diff)
tests: fix compile error in matrix_test.go
Error was: tests/matrix/matrix_test.go:101:9: no new variables on left side of :=
Diffstat (limited to 'tests/matrix/matrix_test.go')
-rw-r--r--tests/matrix/matrix_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}