Skip to content

Commit 41a6f95

Browse files
committed
go now supports semantic tokens
1 parent e3cd45a commit 41a6f95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ycmd/tests/go/semantic_highlighting_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import json
1919
import requests
2020
from unittest import TestCase
21-
from hamcrest import assert_that, empty, equal_to, has_entries
21+
from hamcrest import assert_that, is_not, empty, equal_to, has_entries
2222

2323
from ycmd.tests.go import setUpModule, tearDownModule # noqa
2424
from ycmd.tests.go import PathToTestFile, SharedYcmd
@@ -85,7 +85,7 @@ def test_none( self, app ):
8585
'response': requests.codes.ok,
8686
'data': has_entries( {
8787
'errors': empty(),
88-
'semantic_tokens': empty()
88+
'semantic_tokens': is_not( empty() )
8989
} )
9090
},
9191
} )

0 commit comments

Comments
 (0)