Skip to content

Commit

Permalink
Merge branch 'master' into st4000-exploration
Browse files Browse the repository at this point in the history
  • Loading branch information
rwols committed Apr 27, 2020
2 parents 066f9c5 + b4a30f8 commit d936b04
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_single_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,14 @@ def __run_formatting_test(
self.assertEquals(edited_content, ''.join(expected))

def __run_goto_test(self, response: list, text_document_request: str, subl_command_suffix: str) -> 'Generator':
yield 100
assert self.view
self.insert_characters(GOTO_CONTENT)
# Put the cursor back at the start of the buffer, otherwise is_at_word fails in goto.py.
self.view.sel().clear()
self.view.sel().add(sublime.Region(0, 0))
method = 'textDocument/{}'.format(text_document_request)
self.set_response(method, response)
yield 100
self.view.run_command('lsp_symbol_{}'.format(subl_command_suffix))
yield 100
yield from self.await_message(method)

def condition() -> bool:
Expand Down

0 comments on commit d936b04

Please sign in to comment.