mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
Fix goto tests
This commit is contained in:
@@ -23,6 +23,7 @@ describe 'goto simple'
|
||||
it 'goto definitions'
|
||||
normal \d
|
||||
Expect line('.') == 1
|
||||
Expect col('.') == 5
|
||||
end
|
||||
|
||||
it 'goto assignments'
|
||||
@@ -111,7 +112,7 @@ describe 'goto with buffers'
|
||||
put = ['import os']
|
||||
normal G$
|
||||
call jedi#goto_assignments()
|
||||
python jedi_vim.goto()
|
||||
PythonJedi jedi_vim.goto()
|
||||
Expect CurrentBufferIsModule('os') == 0
|
||||
" Without hidden, it's not possible to open a new buffer, when the old
|
||||
" one is not saved.
|
||||
|
||||
Reference in New Issue
Block a user