Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomv564 committed Oct 5, 2019
1 parent 8447538 commit c1f2f55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def plugin_settings(self, plugin, document_path=None):
def test_plugin():
config = FakeConfig()
doc = Document(DOC_URI, DOC_TYPE_ERR)
diags = plugin.pyls_lint(config, doc)
workspace = None
diags = plugin.pyls_lint(config, workspace, doc, is_saved=False)

assert len(diags) == 1
diag = diags[0]
Expand Down

0 comments on commit c1f2f55

Please sign in to comment.