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 @@ -65,23 +65,23 @@ def test_config_file(tmpdir, workspace):
6565
6666def 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
7474def 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
8282def 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 " )
You can’t perform that action at this time.
0 commit comments