Skip to content

Commit e0872b5

Browse files
committed
oops
1 parent 1ed18a6 commit e0872b5

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
@@ -72,23 +72,23 @@ def test_cr_line_endings(workspace):
7272

7373
def test_format_with_tab_size_option(workspace):
7474
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
75-
res = pyls_format_document(doc, { "tabSize": "8" })
75+
res = pylsp_format_document(doc, { "tabSize": "8" })
7676

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

8080

8181
def test_format_with_insert_spaces_option(workspace):
8282
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
83-
res = pyls_format_document(doc, { "insertSpaces": False })
83+
res = pylsp_format_document(doc, { "insertSpaces": False })
8484

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

8888

8989
def test_format_with_yapf_specific_option(workspace):
9090
doc = Document(DOC_URI, workspace, FOUR_SPACE_DOC)
91-
res = pyls_format_document(doc, { "USE_TABS": True })
91+
res = pylsp_format_document(doc, { "USE_TABS": True })
9292

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

0 commit comments

Comments
 (0)