Skip to content

Commit

Permalink
Allow more references returned in test_references_builtin (#778)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Greiner <[email protected]>
  • Loading branch information
bnavigator and Benjamin Greiner authored Apr 12, 2020
1 parent 0591ade commit 1967c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugins/test_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_references_builtin(tmp_workspace): # pylint: disable=redefined-outer-n
doc2 = Document(doc2_uri)

refs = pyls_references(doc2, position)
assert len(refs) == 1
assert len(refs) >= 1

assert refs[0]['range']['start'] == {'line': 4, 'character': 7}
assert refs[0]['range']['end'] == {'line': 4, 'character': 19}

0 comments on commit 1967c4f

Please sign in to comment.