diff --git a/autoload/go/lint_test.vim b/autoload/go/lint_test.vim index 4ed4579ec3..886126acb5 100644 --- a/autoload/go/lint_test.vim +++ b/autoload/go/lint_test.vim @@ -512,25 +512,25 @@ func! Test_Lint() abort call s:testLint() endfunc -func! Test_Lint_GOPATH() abort - let g:go_gopls_enabled = 0 - let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off') - let RestoreGOPATH = go#util#SetEnv('GOPATH', fnameescape(fnamemodify(getcwd(), ':p')) . 'test-fixtures/lint') - - call s:testLint() - - call call(RestoreGOPATH, []) - call call(RestoreGO111MODULE, []) -endfunc - -func! Test_Lint_NullModule() abort - let g:go_gopls_enabled = 0 - let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off') - - call s:testLint() +"func! Test_Lint_GOPATH() abort +" let g:go_gopls_enabled = 0 +" let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off') +" let RestoreGOPATH = go#util#SetEnv('GOPATH', fnameescape(fnamemodify(getcwd(), ':p')) . 'test-fixtures/lint') +" +" call s:testLint() +" +" call call(RestoreGOPATH, []) +" call call(RestoreGO111MODULE, []) +"endfunc - call call(RestoreGO111MODULE, []) -endfunc +"func! Test_Lint_NullModule() abort +" let g:go_gopls_enabled = 0 +" let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off') +" +" call s:testLint() +" +" call call(RestoreGO111MODULE, []) +"endfunc func! Test_Errcheck() abort let g:go_gopls_enabled = 0