File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,23 @@ def test_cr_line_endings(workspace):
7272
7373def 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
8181def 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
8989def 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 " )
You can’t perform that action at this time.
0 commit comments