slice: fixed golint warnings in cap_test.go
Merge branch 'master' of https://github.com/cookieo9/go-misc