Skip to content

Commit

Permalink
Merge pull request #993 from blueyed/cover-jedi_debug_info
Browse files Browse the repository at this point in the history
tests: cover jedi_debug_info
  • Loading branch information
blueyed authored Feb 3, 2020
2 parents 18b1a51 + a3696be commit 8d24b83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ install:
script:
- make --keep-going "$ENV" BUILD_VIRTUAL_ENV=$VIRTUAL_ENV

after_success:
after_script:
- |
if [ "$ENV" = "test_coverage" ]; then
coverage xml
Expand Down
13 changes: 13 additions & 0 deletions test/vspec/jedi_debug_info.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
source plugin/jedi.vim

describe 'JediDebugInfo'
it 'works'
redir @a | JediDebugInfo | redir END
let output = split(@a, '\n')
Expect output[0] == 'You should run this in a buffer with filetype "python".'
Expect output[1] == '#### Jedi-vim debug information'
Expect output[-1] == '</details>'
end
end

" vim: et:ts=4:sw=4

0 comments on commit 8d24b83

Please sign in to comment.