mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
Remove multi definition tests that are not really working anymore because of changes in Jedi
This commit is contained in:
@@ -73,27 +73,6 @@ describe 'goto with tabs:'
|
||||
Expect tabpagenr('$') == 1
|
||||
Expect bufname('%') == ''
|
||||
end
|
||||
|
||||
" it 'multi definitions'
|
||||
" " This used to behave differently. Now we don't have any real multi
|
||||
" " definitions.
|
||||
"
|
||||
" " put = ['import tokenize']
|
||||
" " normal G$\d
|
||||
" " Expect CurrentBufferIsModule('tokenize') == 1
|
||||
" " Expect CurrentBufferIsModule('token') == 0
|
||||
" " execute "normal \<CR>"
|
||||
" " Expect tabpagenr('$') == 2
|
||||
" " Expect winnr('$') == 1
|
||||
" " Expect CurrentBufferIsModule('token') == 1
|
||||
"
|
||||
" " bd
|
||||
" " normal G$\d
|
||||
" " execute "normal j\<CR>"
|
||||
" " Expect tabpagenr('$') == 2
|
||||
" " Expect winnr('$') == 1
|
||||
" " Expect CurrentBufferIsModule('tokenize') == 1
|
||||
" end
|
||||
end
|
||||
|
||||
|
||||
@@ -124,25 +103,6 @@ describe 'goto with buffers'
|
||||
Expect line('.') == 1
|
||||
Expect col('.') == 1
|
||||
end
|
||||
|
||||
" it 'multi definitions'
|
||||
" " set hidden
|
||||
" " put = ['import tokenize']
|
||||
" " normal G$\d
|
||||
" " Expect CurrentBufferIsModule('tokenize') == 0
|
||||
" " Expect CurrentBufferIsModule('token') == 0
|
||||
" " execute "normal \<CR>"
|
||||
" " Expect tabpagenr('$') == 1
|
||||
" " Expect winnr('$') == 1
|
||||
" " Expect CurrentBufferIsModule('token') == 1
|
||||
"
|
||||
" " bd
|
||||
" " normal G$\d
|
||||
" " execute "normal j\<CR>"
|
||||
" " Expect tabpagenr('$') == 1
|
||||
" " Expect winnr('$') == 1
|
||||
" " Expect CurrentBufferIsModule('tokenize') == 1
|
||||
" end
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user