Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use byte literals in tests to make go vet happy.
The go vet command complains about untagged struct initializers when defining a ShaHash directly. This seems to be a limitation where go vet does not exclude the warning for types which are a constant size byte array like it does for normal constant size byte array definition. This commit simply modifies the tests to use a constant definition cast to a ShaHash to overcome the limitation of go vet.
- Loading branch information