X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=.config%2Fcoc%2Fextensions%2Fcoc-go-data%2Ftools%2Fpkg%2Fmod%2Fhonnef.co%2Fgo%2Ftools%40v0.0.1-2020.1.5%2Fstaticcheck%2Ftestdata%2Fsrc%2FCheckMathInt%2FCheckMathInt.go;fp=.config%2Fcoc%2Fextensions%2Fcoc-go-data%2Ftools%2Fpkg%2Fmod%2Fhonnef.co%2Fgo%2Ftools%40v0.0.1-2020.1.5%2Fstaticcheck%2Ftestdata%2Fsrc%2FCheckMathInt%2FCheckMathInt.go;h=0000000000000000000000000000000000000000;hb=3ddadb3c98564791f0ac36cb39771d844a63dc91;hp=d413e8549cefb8575ce51e1f1d06c906e324a886;hpb=5f797af6612ed10887189b47a1efc2f915586e59;p=dotfiles%2F.git diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckMathInt/CheckMathInt.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckMathInt/CheckMathInt.go deleted file mode 100644 index d413e854..00000000 --- a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckMathInt/CheckMathInt.go +++ /dev/null @@ -1,8 +0,0 @@ -package pkg - -import "math" - -func fn(x int) { - math.Ceil(float64(x)) // want `on a converted integer is pointless` - math.Floor(float64(x * 2)) // want `on a converted integer is pointless` -}