Fix typos and warnings for GoReport / GolangCiLinter (#132)

- typos
- gofmt -s
- govet warnings
- golangci-lint run
This commit is contained in:
Evgeniy Kulikov 2019-02-09 18:53:58 +03:00 committed by fabwa
parent d183ea3c1f
commit 630919bf7d
24 changed files with 70 additions and 65 deletions

View file

@ -14,7 +14,7 @@ func TestArrayReverse(t *testing.T) {
}
}
// This tests a bug that occured with arrays of size 1
// This tests a bug that occurred with arrays of size 1
func TestArrayReverseLen2(t *testing.T) {
arr := []byte{0x01}
have := ArrayReverse(arr)