Skip to content

Commit 8083a16

Browse files
committed
oops
1 parent 5853330 commit 8083a16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/plugins/test_yapf_format.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,23 @@ def test_config_file(tmpdir, workspace):
6565

6666
def test_format_with_tab_size_option(workspace):
6767
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
68-
res = pyls_format_document(doc, { "tabSize": "8" })
68+
res = pylsp_format_document(doc, { "tabSize": "8" })
6969

7070
assert len(res) == 1
7171
assert res[0]['newText'] == FOUR_SPACE_DOC.replace(" ", " ")
7272

7373

7474
def test_format_with_insert_spaces_option(workspace):
7575
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
76-
res = pyls_format_document(doc, { "insertSpaces": False })
76+
res = pylsp_format_document(doc, { "insertSpaces": False })
7777

7878
assert len(res) == 1
7979
assert res[0]['newText'] == FOUR_SPACE_DOC.replace(" ", "\t")
8080

8181

8282
def test_format_with_yapf_specific_option(workspace):
8383
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
84-
res = pyls_format_document(doc, { "USE_TABS": True })
84+
res = pylsp_format_document(doc, { "USE_TABS": True })
8585

8686
assert len(res) == 1
8787
assert res[0]['newText'] == FOUR_SPACE_DOC.replace(" ", "\t")

0 commit comments

Comments
 (0)