forked from VimPlug/jedi-vim
Fix test/signatures.vim: ensure there is no indent (nvim)
This commit is contained in:
@@ -97,7 +97,7 @@ describe 'signatures'
|
|||||||
let funcname = repeat('a', &columns - (30 + (&ruler ? 18 : 0)))
|
let funcname = repeat('a', &columns - (30 + (&ruler ? 18 : 0)))
|
||||||
put = 'def '.funcname.'(arg1, arg2, arg3, a, b, c):'
|
put = 'def '.funcname.'(arg1, arg2, arg3, a, b, c):'
|
||||||
put = ' pass'
|
put = ' pass'
|
||||||
execute "normal o".funcname."( "
|
execute "normal o\<BS>".funcname."( "
|
||||||
Expect Signature() == "\n".funcname."(arg1, …)"
|
Expect Signature() == "\n".funcname."(arg1, …)"
|
||||||
|
|
||||||
exe 'normal sarg1, '
|
exe 'normal sarg1, '
|
||||||
@@ -112,7 +112,7 @@ describe 'signatures'
|
|||||||
g/^/d
|
g/^/d
|
||||||
put = 'def '.funcname.'('.repeat('b', 20).', arg2):'
|
put = 'def '.funcname.'('.repeat('b', 20).', arg2):'
|
||||||
put = ' pass'
|
put = ' pass'
|
||||||
execute "normal o".funcname."( "
|
execute "normal o\<BS>".funcname."( "
|
||||||
Expect Signature() == "\n".funcname."(…)"
|
Expect Signature() == "\n".funcname."(…)"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user