Files
jedi-vim/test/documentation.vim
2013-08-27 20:34:26 +04:30

21 lines
443 B
VimL

source plugin/jedi.vim
describe 'documentation_docstrings'
before
set filetype=python
end
it 'simple'
put = 'ImportError'
normal GK
Expect bufname('%') == "'__doc__'"
Expect &filetype == 'rst'
let content = join(getline(1,'$'), "\n")
Expect stridx(content, "Import can't find module") > 0
normal K
Expect bufname('%') == ''
end
end
" vim: et:ts=4:sw=4