#159 Make namedMatrices an array instead of slice

This commit is contained in:
Jacek Olszak 2019-02-13 15:13:04 +01:00
parent 0a054f35fd
commit 742d1226d8
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func TestMatrix_Unproject(t *testing.T) {
assert.InDelta(t, unprojected.Y, 0, delta)
})
t.Run("for projected vertices using all kinds of matrices", func(t *testing.T) {
namedMatrices := []struct {
namedMatrices := [...]struct {
name string
matrix pixel.Matrix
}{