mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-08 19:44:52 +08:00
tab tests that are working with goto
This commit is contained in:
@@ -4,7 +4,7 @@ source test/utils.vim
|
|||||||
|
|
||||||
describe 'goto_simple'
|
describe 'goto_simple'
|
||||||
before
|
before
|
||||||
new
|
new " open a new split
|
||||||
set filetype=python
|
set filetype=python
|
||||||
put =[
|
put =[
|
||||||
\ 'def a(): pass',
|
\ 'def a(): pass',
|
||||||
@@ -47,12 +47,13 @@ end
|
|||||||
|
|
||||||
describe 'goto_with_new_tabs'
|
describe 'goto_with_new_tabs'
|
||||||
before
|
before
|
||||||
new
|
|
||||||
set filetype=python
|
set filetype=python
|
||||||
end
|
end
|
||||||
|
|
||||||
after
|
after
|
||||||
close!
|
close!
|
||||||
|
bd!
|
||||||
|
bd!
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'follow_import'
|
it 'follow_import'
|
||||||
@@ -67,6 +68,8 @@ describe 'goto_with_new_tabs'
|
|||||||
Expect line('.') == 1
|
Expect line('.') == 1
|
||||||
Expect col('.') == 1
|
Expect col('.') == 1
|
||||||
Expect tabpagenr('$') == 2
|
Expect tabpagenr('$') == 2
|
||||||
|
tabprevious
|
||||||
|
Expect bufname('%') == ''
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user