Skip to content

Commit

Permalink
chore: fix use of deprecated methods in tests/test_language_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBencina authored and tombh committed Oct 2, 2023
1 parent 20a42ff commit f0762a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_language_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def test_bf_text_document_did_open(client_server):

sleep(1)

assert len(server.lsp.workspace.documents) == 1
assert len(server.lsp.workspace.text_documents) == 1

document = server.workspace.get_document(__file__)
document = server.workspace.get_text_document(__file__)
assert document.uri == __file__
assert document.version == 1
assert document.source == "test"
Expand Down

0 comments on commit f0762a7

Please sign in to comment.