Skip to content

Commit 25cdfab

Browse files
committed
fix: publishDiagnostics starts at 0 and newlines are counted correctly
1 parent ecc27ee commit 25cdfab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_notebook_document.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def test_initialize(client_server_pair): # pylint: disable=redefined-outer-name
6969
},
7070
).result(timeout=CALL_TIMEOUT_IN_SECONDS)
7171
assert server.workspace is not None
72-
assert "capabilities" in response
73-
# TODO: assert that notebook capabilities are in response
72+
assert "notebookDocumentSync" in response["capabilities"].keys()
7473

7574

7675
def test_notebook_document__did_open(

0 commit comments

Comments
 (0)