mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-06 10:54:22 +08:00
replace function names starting with g: to CamelCase (fix #326)
This commit is contained in:
@@ -9,9 +9,9 @@ describe 'pyimport'
|
||||
|
||||
it 'open_tab'
|
||||
Pyimport os
|
||||
Expect g:current_buffer_is_module('os') == 1
|
||||
Expect CurrentBufferIsModule('os') == 1
|
||||
Pyimport subprocess
|
||||
Expect g:current_buffer_is_module('subprocess') == 1
|
||||
Expect CurrentBufferIsModule('subprocess') == 1
|
||||
" the empty tab is sometimes also a tab
|
||||
Expect tabpagenr('$') >= 2
|
||||
end
|
||||
@@ -19,7 +19,7 @@ describe 'pyimport'
|
||||
it 'completion'
|
||||
" don't know how to test this directly
|
||||
"execute "Pyimport subproc\<Tab>"
|
||||
"Expect g:current_buffer_is_module('subprocess') == 1
|
||||
"Expect CurrentBufferIsModule('subprocess') == 1
|
||||
|
||||
Expect jedi#py_import_completions('subproc', 0, 0) == 'subprocess'
|
||||
Expect jedi#py_import_completions('subprocess', 0, 0) == 'subprocess'
|
||||
|
||||
Reference in New Issue
Block a user