Skip to content

Commit 0dd5feb

Browse files
committed
Upgrade gopls to 0.16.1
1 parent 18af82a commit 0dd5feb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ def EnableGoCompleter( args ):
960960
new_env.pop( 'GOROOT', None )
961961
new_env[ 'GOBIN' ] = p.join( new_env[ 'GOPATH' ], 'bin' )
962962

963-
gopls = 'golang.org/x/tools/gopls@v0.15.3'
963+
gopls = 'golang.org/x/tools/gopls@v0.16.1'
964964
CheckCall( [ go, 'install', gopls ],
965965
env = new_env,
966966
quiet = args.quiet,

ycmd/tests/go/subcommands_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@ def test_Subcommands_GoToImplementation( self, app ):
434434
RunGoToTest( app, 'GoToImplementation', test )
435435

436436

437+
@ExpectedFailure(
438+
'Gopls bug. See https://github.com/golang/go/issues/68904',
439+
matches_regexp( 'Browse free symbols' ) )
437440
@SharedYcmd
438441
def test_Subcommands_FixIt_NullResponse( self, app ):
439442
filepath = PathToTestFile( 'td', 'test.go' )
@@ -442,6 +445,9 @@ def test_Subcommands_FixIt_NullResponse( self, app ):
442445
filepath, 1, 1, has_entry( 'fixits', empty() ) )
443446

444447

448+
@ExpectedFailure(
449+
'Gopls bug. See https://github.com/golang/go/issues/68904',
450+
matches_regexp( 'Browse free symbols' ) )
445451
@SharedYcmd
446452
def test_Subcommands_FixIt_Simple( self, app ):
447453
filepath = PathToTestFile( 'fixit.go' )

0 commit comments

Comments
 (0)