forked from VimPlug/jedi-vim
Fix documentation tests
This commit is contained in:
@@ -18,10 +18,10 @@ describe 'documentation docstrings'
|
||||
let header = getline(1, 2)
|
||||
PythonJedi vim.vars["is_py2"] = sys.version_info[0] == 2
|
||||
if g:is_py2
|
||||
Expect header[0] == "Docstring for __builtin__:class ImportError"
|
||||
Expect header[0] == "Docstring for class __builtin__.ImportError"
|
||||
Expect header[1] == "==========================================="
|
||||
else
|
||||
Expect header[0] == "Docstring for builtins:class ImportError"
|
||||
Expect header[0] == "Docstring for class builtins.ImportError"
|
||||
Expect header[1] == "========================================"
|
||||
endif
|
||||
let content = join(getline(3, '$'), "\n")
|
||||
|
||||
Reference in New Issue
Block a user