@@ -512,25 +512,25 @@ func! Test_Lint() abort
512512 call s: testLint ()
513513endfunc
514514
515- " func! Test_Lint_GOPATH() abort
516- " let g:go_gopls_enabled = 0
517- " let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off')
518- " let RestoreGOPATH = go#util#SetEnv('GOPATH', fnameescape(fnamemodify(getcwd(), ':p')) . 'test-fixtures/lint')
519- "
520- " call s:testLint()
521- "
522- " call call(RestoreGOPATH, [])
523- " call call(RestoreGO111MODULE, [])
524- " endfunc
515+ func ! Test_Lint_GOPATH () abort
516+ let g: go_gopls_enabled = 0
517+ let RestoreGO111MODULE = go#util#SetEnv (' GO111MODULE' , ' off' )
518+ let RestoreGOPATH = go#util#SetEnv (' GOPATH' , fnameescape (fnamemodify (getcwd (), ' :p' )) . ' test-fixtures/lint' )
525519
526- " func! Test_Lint_NullModule() abort
527- " let g:go_gopls_enabled = 0
528- " let RestoreGO111MODULE = go#util#SetEnv('GO111MODULE', 'off')
529- "
530- " call s:testLint()
531- "
532- " call call(RestoreGO111MODULE, [])
533- " endfunc
520+ call s: testLint ()
521+
522+ call call (RestoreGOPATH, [])
523+ call call (RestoreGO111MODULE, [])
524+ endfunc
525+
526+ func ! Test_Lint_NullModule () abort
527+ let g: go_gopls_enabled = 0
528+ let RestoreGO111MODULE = go#util#SetEnv (' GO111MODULE' , ' off' )
529+
530+ call s: testLint ()
531+
532+ call call (RestoreGO111MODULE, [])
533+ endfunc
534534
535535func ! Test_Errcheck () abort
536536 let g: go_gopls_enabled = 0
0 commit comments