mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3637: typos in test files
Problem: Typos in test files. Solution: Correct the typos. (Dominique Pellé, closes #9175)
This commit is contained in:
committed by
Bram Moolenaar
parent
2c23670300
commit
923dce2b07
@@ -145,7 +145,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if has('mac')
|
if has('mac')
|
||||||
" In MacOS, when starting a shell in a terminal, a bash deprecation warning
|
" In macOS, when starting a shell in a terminal, a bash deprecation warning
|
||||||
" message is displayed. This breaks the terminal test. Disable the warning
|
" message is displayed. This breaks the terminal test. Disable the warning
|
||||||
" message.
|
" message.
|
||||||
let $BASH_SILENCE_DEPRECATION_WARNING = 1
|
let $BASH_SILENCE_DEPRECATION_WARNING = 1
|
||||||
|
@@ -500,7 +500,7 @@ func Test_Backtrace_Through_Source()
|
|||||||
|
|
||||||
call RunDbgCmd( buf, 'down', [ 'frame is zero' ] )
|
call RunDbgCmd( buf, 'down', [ 'frame is zero' ] )
|
||||||
|
|
||||||
" step until we have another meaninfgul trace
|
" step until we have another meaningful trace
|
||||||
call RunDbgCmd(buf, 'step', ['line 5: func File2Function()'])
|
call RunDbgCmd(buf, 'step', ['line 5: func File2Function()'])
|
||||||
call RunDbgCmd(buf, 'step', ['line 9: call File2Function()'])
|
call RunDbgCmd(buf, 'step', ['line 9: call File2Function()'])
|
||||||
call RunDbgCmd(buf, 'backtrace', [
|
call RunDbgCmd(buf, 'backtrace', [
|
||||||
@@ -588,7 +588,7 @@ func Test_Backtrace_Autocmd()
|
|||||||
\ ['cmd: doautocmd User TestGlobalFunction'])
|
\ ['cmd: doautocmd User TestGlobalFunction'])
|
||||||
call RunDbgCmd(buf, 'step', ['cmd: call GlobalFunction() | echo "Done"'])
|
call RunDbgCmd(buf, 'step', ['cmd: call GlobalFunction() | echo "Done"'])
|
||||||
|
|
||||||
" At this point the ontly thing in the stack is the autocommand
|
" At this point the only thing in the stack is the autocommand
|
||||||
call RunDbgCmd(buf, 'backtrace', [
|
call RunDbgCmd(buf, 'backtrace', [
|
||||||
\ '>backtrace',
|
\ '>backtrace',
|
||||||
\ '->0 User Autocommands for "TestGlobalFunction"',
|
\ '->0 User Autocommands for "TestGlobalFunction"',
|
||||||
@@ -718,7 +718,7 @@ func Test_Backtrace_Autocmd()
|
|||||||
|
|
||||||
call RunDbgCmd( buf, 'down', [ 'frame is zero' ] )
|
call RunDbgCmd( buf, 'down', [ 'frame is zero' ] )
|
||||||
|
|
||||||
" step until we have another meaninfgul trace
|
" step until we have another meaningful trace
|
||||||
call RunDbgCmd(buf, 'step', ['line 5: func File2Function()'])
|
call RunDbgCmd(buf, 'step', ['line 5: func File2Function()'])
|
||||||
call RunDbgCmd(buf, 'step', ['line 9: call File2Function()'])
|
call RunDbgCmd(buf, 'step', ['line 9: call File2Function()'])
|
||||||
call RunDbgCmd(buf, 'backtrace', [
|
call RunDbgCmd(buf, 'backtrace', [
|
||||||
@@ -845,7 +845,7 @@ func Test_Backtrace_CmdLine()
|
|||||||
call CheckDbgOutput(buf, ['command line',
|
call CheckDbgOutput(buf, ['command line',
|
||||||
\ 'cmd: call GlobalFunction()'], #{msec: 5000})
|
\ 'cmd: call GlobalFunction()'], #{msec: 5000})
|
||||||
|
|
||||||
" At this point the ontly thing in the stack is the cmdline
|
" At this point the only thing in the stack is the cmdline
|
||||||
call RunDbgCmd(buf, 'backtrace', [
|
call RunDbgCmd(buf, 'backtrace', [
|
||||||
\ '>backtrace',
|
\ '>backtrace',
|
||||||
\ '->0 command line',
|
\ '->0 command line',
|
||||||
@@ -1260,7 +1260,7 @@ func Test_debug_backtrace_level()
|
|||||||
\ #{ match: 'pattern' } )
|
\ #{ match: 'pattern' } )
|
||||||
|
|
||||||
" Expression evaluation in the script frame (not the function frame)
|
" Expression evaluation in the script frame (not the function frame)
|
||||||
" FIXME: Unexpected in this scope (a: should not be visibnle)
|
" FIXME: Unexpected in this scope (a: should not be visible)
|
||||||
call RunDbgCmd(buf, 'echo a:arg', [ 'arg1' ] )
|
call RunDbgCmd(buf, 'echo a:arg', [ 'arg1' ] )
|
||||||
call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] )
|
call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] )
|
||||||
call RunDbgCmd(buf, 'echo g:global_var', [ 'global' ] )
|
call RunDbgCmd(buf, 'echo g:global_var', [ 'global' ] )
|
||||||
|
@@ -274,7 +274,7 @@ func Test_diffget_diffput_empty_buffer()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" :diffput and :diffget completes names of buffers which
|
" :diffput and :diffget completes names of buffers which
|
||||||
" are in diff mode and which are different then current buffer.
|
" are in diff mode and which are different than current buffer.
|
||||||
" No completion when the current window is not in diff mode.
|
" No completion when the current window is not in diff mode.
|
||||||
func Test_diffget_diffput_completion()
|
func Test_diffget_diffput_completion()
|
||||||
e Xdiff1 | diffthis
|
e Xdiff1 | diffthis
|
||||||
@@ -677,7 +677,7 @@ func Test_diffexpr()
|
|||||||
call assert_notequal(normattr, screenattr(3, 1))
|
call assert_notequal(normattr, screenattr(3, 1))
|
||||||
diffoff!
|
diffoff!
|
||||||
|
|
||||||
" Try using an non-existing function for 'diffexpr'.
|
" Try using a non-existing function for 'diffexpr'.
|
||||||
set diffexpr=NewDiffFunc()
|
set diffexpr=NewDiffFunc()
|
||||||
call assert_fails('windo diffthis', ['E117:', 'E97:'])
|
call assert_fails('windo diffthis', ['E117:', 'E97:'])
|
||||||
diffoff!
|
diffoff!
|
||||||
|
@@ -422,13 +422,13 @@ func Test_autoindent_remove_indent()
|
|||||||
" leaving insert mode in a new line with indent added by autoindent, should
|
" leaving insert mode in a new line with indent added by autoindent, should
|
||||||
" remove the indent.
|
" remove the indent.
|
||||||
call term_sendkeys(buf, "i\<Tab>foo\<CR>\<Esc>")
|
call term_sendkeys(buf, "i\<Tab>foo\<CR>\<Esc>")
|
||||||
" Need to delay for sometime, otherwise the code in getchar.c will not be
|
" Need to delay for some time, otherwise the code in getchar.c will not be
|
||||||
" exercised.
|
" exercised.
|
||||||
call TermWait(buf, 50)
|
call TermWait(buf, 50)
|
||||||
" when a line is wrapped and the cursor is at the start of the second line,
|
" when a line is wrapped and the cursor is at the start of the second line,
|
||||||
" leaving insert mode, should move the cursor back to the first line.
|
" leaving insert mode, should move the cursor back to the first line.
|
||||||
call term_sendkeys(buf, "o" .. repeat('x', 20) .. "\<Esc>")
|
call term_sendkeys(buf, "o" .. repeat('x', 20) .. "\<Esc>")
|
||||||
" Need to delay for sometime, otherwise the code in getchar.c will not be
|
" Need to delay for some time, otherwise the code in getchar.c will not be
|
||||||
" exercised.
|
" exercised.
|
||||||
call TermWait(buf, 50)
|
call TermWait(buf, 50)
|
||||||
call term_sendkeys(buf, ":w\n")
|
call term_sendkeys(buf, ":w\n")
|
||||||
@@ -440,7 +440,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_edit_CR()
|
func Test_edit_CR()
|
||||||
" Test for <CR> in insert mode
|
" Test for <CR> in insert mode
|
||||||
" basically only in quickfix mode ist tested, the rest
|
" basically only in quickfix mode it's tested, the rest
|
||||||
" has been taken care of by other tests
|
" has been taken care of by other tests
|
||||||
CheckFeature quickfix
|
CheckFeature quickfix
|
||||||
botright new
|
botright new
|
||||||
|
@@ -603,7 +603,7 @@ func Sandbox_tests()
|
|||||||
if has('clientserver')
|
if has('clientserver')
|
||||||
call assert_fails('let s=remote_expr("gvim", "2+2")', 'E48:')
|
call assert_fails('let s=remote_expr("gvim", "2+2")', 'E48:')
|
||||||
if !has('win32')
|
if !has('win32')
|
||||||
" remote_foreground() doesn't thrown an error message on MS-Windows
|
" remote_foreground() doesn't throw an error message on MS-Windows
|
||||||
call assert_fails('call remote_foreground("gvim")', 'E48:')
|
call assert_fails('call remote_foreground("gvim")', 'E48:')
|
||||||
endif
|
endif
|
||||||
call assert_fails('let s=remote_peek("gvim")', 'E48:')
|
call assert_fails('let s=remote_peek("gvim")', 'E48:')
|
||||||
|
@@ -54,7 +54,7 @@ func Test_flatten()
|
|||||||
call test_garbagecollect_now()
|
call test_garbagecollect_now()
|
||||||
call assert_equal([1, 2, 3], l:list)
|
call assert_equal([1, 2, 3], l:list)
|
||||||
|
|
||||||
" Tests for checking circular reference list can be flatten.
|
" Tests for checking circular reference list can be flattened.
|
||||||
let l:x = [1]
|
let l:x = [1]
|
||||||
let l:y = [x]
|
let l:y = [x]
|
||||||
let l:z = flatten(l:y)
|
let l:z = flatten(l:y)
|
||||||
|
@@ -50,7 +50,7 @@ func Test_ins_complete()
|
|||||||
" i-add-expands and switches to local
|
" i-add-expands and switches to local
|
||||||
exe "normal OM\<C-N>\<C-X>\<C-N>\<C-X>\<C-N>\<C-X>\<C-X>\<C-X>\<C-P>"
|
exe "normal OM\<C-N>\<C-X>\<C-N>\<C-X>\<C-N>\<C-X>\<C-X>\<C-X>\<C-P>"
|
||||||
call assert_equal("Makefile\tto\trun3", getline('.'))
|
call assert_equal("Makefile\tto\trun3", getline('.'))
|
||||||
" add-expands lines (it would end in an empty line if it didn't ignored
|
" add-expands lines (it would end in an empty line if it didn't ignore
|
||||||
" itself)
|
" itself)
|
||||||
exe "normal o\<C-X>\<C-L>\<C-X>\<C-L>\<C-P>\<C-P>"
|
exe "normal o\<C-X>\<C-L>\<C-X>\<C-L>\<C-P>\<C-P>"
|
||||||
call assert_equal("Makefile\tto\trun3", getline('.'))
|
call assert_equal("Makefile\tto\trun3", getline('.'))
|
||||||
|
@@ -1243,7 +1243,7 @@ func Test_normal18_z_fold()
|
|||||||
norm! j
|
norm! j
|
||||||
call assert_equal('52', getline('.'))
|
call assert_equal('52', getline('.'))
|
||||||
|
|
||||||
" zA on a opened fold when foldenable is not set
|
" zA on an opened fold when foldenable is not set
|
||||||
50
|
50
|
||||||
set nofoldenable
|
set nofoldenable
|
||||||
norm! zA
|
norm! zA
|
||||||
@@ -1601,7 +1601,7 @@ func Test_normal23_K()
|
|||||||
|
|
||||||
let not_gnu_man = has('mac') || has('bsd')
|
let not_gnu_man = has('mac') || has('bsd')
|
||||||
if not_gnu_man
|
if not_gnu_man
|
||||||
" In MacOS and BSD, the option for specifying a pager is different
|
" In macOS and BSD, the option for specifying a pager is different
|
||||||
set keywordprg=man\ -P\ cat
|
set keywordprg=man\ -P\ cat
|
||||||
else
|
else
|
||||||
set keywordprg=man\ --pager=cat
|
set keywordprg=man\ --pager=cat
|
||||||
@@ -2394,7 +2394,7 @@ func Test_normal33_g_cmd2()
|
|||||||
call assert_equal('foo first line', getline(1))
|
call assert_equal('foo first line', getline(1))
|
||||||
set virtualedit&
|
set virtualedit&
|
||||||
|
|
||||||
" Test for aboring a g command using CTRL-\ CTRL-G
|
" Test for aborting a g command using CTRL-\ CTRL-G
|
||||||
exe "normal! g\<C-\>\<C-G>"
|
exe "normal! g\<C-\>\<C-G>"
|
||||||
call assert_equal('foo first line', getline('.'))
|
call assert_equal('foo first line', getline('.'))
|
||||||
|
|
||||||
|
@@ -1154,7 +1154,7 @@ func Test_cmdheight()
|
|||||||
set cmdheight&
|
set cmdheight&
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" To specify a control character as a option value, '^' can be used
|
" To specify a control character as an option value, '^' can be used
|
||||||
func Test_opt_control_char()
|
func Test_opt_control_char()
|
||||||
set wildchar=^v
|
set wildchar=^v
|
||||||
call assert_equal("\<C-V>", nr2char(&wildchar))
|
call assert_equal("\<C-V>", nr2char(&wildchar))
|
||||||
|
@@ -412,7 +412,7 @@ func Test_python_dict()
|
|||||||
py d = vim.bindeval('d')
|
py d = vim.bindeval('d')
|
||||||
call assert_equal(2, pyeval('len(d)'))
|
call assert_equal(2, pyeval('len(d)'))
|
||||||
|
|
||||||
" Deleting an non-existing key
|
" Deleting a non-existing key
|
||||||
call AssertException(["py del d['c']"], "Vim(python):KeyError: 'c'")
|
call AssertException(["py del d['c']"], "Vim(python):KeyError: 'c'")
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -605,7 +605,7 @@ func Test_python3_dict()
|
|||||||
py3 d = vim.bindeval('d')
|
py3 d = vim.bindeval('d')
|
||||||
call assert_equal(2, py3eval('len(d)'))
|
call assert_equal(2, py3eval('len(d)'))
|
||||||
|
|
||||||
" Deleting an non-existing key
|
" Deleting a non-existing key
|
||||||
call AssertException(["py3 del d['c']"], "Vim(py3):KeyError: 'c'")
|
call AssertException(["py3 del d['c']"], "Vim(py3):KeyError: 'c'")
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -2865,7 +2865,7 @@ func XvimgrepTests(cchar)
|
|||||||
call writefile(['Editor:VIM vim',
|
call writefile(['Editor:VIM vim',
|
||||||
\ 'Editor:Emacs EmAcS',
|
\ 'Editor:Emacs EmAcS',
|
||||||
\ 'Editor:Notepad NOTEPAD'], 'Xtestfile1')
|
\ 'Editor:Notepad NOTEPAD'], 'Xtestfile1')
|
||||||
call writefile(['Linux', 'MacOS', 'MS-Windows'], 'Xtestfile2')
|
call writefile(['Linux', 'macOS', 'MS-Windows'], 'Xtestfile2')
|
||||||
|
|
||||||
" Error cases
|
" Error cases
|
||||||
call assert_fails('Xvimgrep /abc *', 'E682:')
|
call assert_fails('Xvimgrep /abc *', 'E682:')
|
||||||
@@ -2879,7 +2879,7 @@ func XvimgrepTests(cchar)
|
|||||||
|
|
||||||
Xexpr ""
|
Xexpr ""
|
||||||
Xvimgrepadd Notepad Xtestfile1
|
Xvimgrepadd Notepad Xtestfile1
|
||||||
Xvimgrepadd MacOS Xtestfile2
|
Xvimgrepadd macOS Xtestfile2
|
||||||
let l = g:Xgetlist()
|
let l = g:Xgetlist()
|
||||||
call assert_equal(2, len(l))
|
call assert_equal(2, len(l))
|
||||||
call assert_equal('Editor:Notepad NOTEPAD', l[0].text)
|
call assert_equal('Editor:Notepad NOTEPAD', l[0].text)
|
||||||
@@ -4126,7 +4126,7 @@ endfunc
|
|||||||
func Test_shorten_fname()
|
func Test_shorten_fname()
|
||||||
CheckUnix
|
CheckUnix
|
||||||
%bwipe
|
%bwipe
|
||||||
" Create a quickfix list with a absolute path filename
|
" Create a quickfix list with an absolute path filename
|
||||||
let fname = getcwd() . '/test_quickfix.vim'
|
let fname = getcwd() . '/test_quickfix.vim'
|
||||||
call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'})
|
call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'})
|
||||||
call assert_equal(fname, bufname('test_quickfix.vim'))
|
call assert_equal(fname, bufname('test_quickfix.vim'))
|
||||||
@@ -4135,7 +4135,7 @@ func Test_shorten_fname()
|
|||||||
call assert_equal('test_quickfix.vim', bufname('test_quickfix.vim'))
|
call assert_equal('test_quickfix.vim', bufname('test_quickfix.vim'))
|
||||||
cclose
|
cclose
|
||||||
%bwipe
|
%bwipe
|
||||||
" Create a quickfix list with a absolute path filename
|
" Create a quickfix list with an absolute path filename
|
||||||
call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'})
|
call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'})
|
||||||
call assert_equal(fname, bufname('test_quickfix.vim'))
|
call assert_equal(fname, bufname('test_quickfix.vim'))
|
||||||
" Displaying the quickfix list should simplify the file path
|
" Displaying the quickfix list should simplify the file path
|
||||||
|
@@ -361,7 +361,7 @@ func Test_recover_encrypted_swap_file()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for :recover using a unreadable swap file
|
" Test for :recover using a unreadable swap file
|
||||||
func Test_recover_unreadble_swap_file()
|
func Test_recover_unreadable_swap_file()
|
||||||
CheckUnix
|
CheckUnix
|
||||||
CheckNotRoot
|
CheckNotRoot
|
||||||
new Xfile1
|
new Xfile1
|
||||||
|
@@ -702,7 +702,7 @@ func Test_aff_file_format_error()
|
|||||||
let output = execute('mkspell! Xtest.spl Xtest')
|
let output = execute('mkspell! Xtest.spl Xtest')
|
||||||
call assert_match('Different combining flag in continued affix block in Xtest.aff line 3', output)
|
call assert_match('Different combining flag in continued affix block in Xtest.aff line 3', output)
|
||||||
|
|
||||||
" Try to reuse a affix used for BAD flag
|
" Try to reuse an affix used for BAD flag
|
||||||
call writefile(['BAD x', 'PFX x Y 1', 'PFX x 0 re x'], 'Xtest.aff')
|
call writefile(['BAD x', 'PFX x Y 1', 'PFX x 0 re x'], 'Xtest.aff')
|
||||||
let output = execute('mkspell! Xtest.spl Xtest')
|
let output = execute('mkspell! Xtest.spl Xtest')
|
||||||
call assert_match('Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in Xtest.aff line 2: x', output)
|
call assert_match('Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in Xtest.aff line 2: x', output)
|
||||||
|
@@ -502,8 +502,7 @@ endfunc
|
|||||||
func Test_bg_detection()
|
func Test_bg_detection()
|
||||||
CheckNotGui
|
CheckNotGui
|
||||||
|
|
||||||
" auto-detection of &bg, make sure sure it isn't set anywhere before
|
" auto-detection of &bg, make sure it isn't set anywhere before this test
|
||||||
" this test
|
|
||||||
hi Normal ctermbg=0
|
hi Normal ctermbg=0
|
||||||
call assert_equal('dark', &bg)
|
call assert_equal('dark', &bg)
|
||||||
hi Normal ctermbg=4
|
hi Normal ctermbg=4
|
||||||
|
@@ -314,8 +314,8 @@ func Test_term_mouse_middle_click_insert_mode()
|
|||||||
call setline(1, ['123456789', '123456789'])
|
call setline(1, ['123456789', '123456789'])
|
||||||
let @* = 'abc'
|
let @* = 'abc'
|
||||||
|
|
||||||
" Middle-click in inesrt mode doesn't move the cursor but inserts the
|
" Middle-click in insert mode doesn't move the cursor but inserts the
|
||||||
" contents of aregister
|
" contents of a register
|
||||||
call cursor(1, 4)
|
call cursor(1, 4)
|
||||||
call feedkeys('i' ..
|
call feedkeys('i' ..
|
||||||
\ MouseMiddleClickCode(2, 7) .. MouseMiddleReleaseCode(2, 7) ..
|
\ MouseMiddleClickCode(2, 7) .. MouseMiddleReleaseCode(2, 7) ..
|
||||||
@@ -365,7 +365,7 @@ func Test_term_mouse_switch_win_insert_mode()
|
|||||||
close!
|
close!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for using the mouse to increaes the height of the cmdline window
|
" Test for using the mouse to increase the height of the cmdline window
|
||||||
func Test_mouse_cmdwin_resize()
|
func Test_mouse_cmdwin_resize()
|
||||||
CheckFeature cmdwin
|
CheckFeature cmdwin
|
||||||
|
|
||||||
|
@@ -205,7 +205,7 @@ func Test_empty_html_tag()
|
|||||||
normal 0f<vitsaaa
|
normal 0f<vitsaaa
|
||||||
call assert_equal('aaa', getline(1))
|
call assert_equal('aaa', getline(1))
|
||||||
|
|
||||||
" selecting a tag block in an non-empty blank line should fail
|
" selecting a tag block in a non-empty blank line should fail
|
||||||
call setline(1, ' ')
|
call setline(1, ' ')
|
||||||
call assert_beeps('normal $vaty')
|
call assert_beeps('normal $vaty')
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@ func T25_F()
|
|||||||
Xpath 'i'
|
Xpath 'i'
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Also try using "fina" and "final" and "finall" as abbraviations.
|
" Also try using "fina" and "final" and "finall" as abbreviations.
|
||||||
func T25_G()
|
func T25_G()
|
||||||
if 1
|
if 1
|
||||||
try
|
try
|
||||||
|
@@ -2149,7 +2149,7 @@ def Test_import_compile_error()
|
|||||||
try
|
try
|
||||||
source Ximport.vim
|
source Ximport.vim
|
||||||
catch /E1001/
|
catch /E1001/
|
||||||
# Error should be fore the Xexported.vim file.
|
# Error should be before the Xexported.vim file.
|
||||||
assert_match('E1001: Variable not found: notDefined', v:exception)
|
assert_match('E1001: Variable not found: notDefined', v:exception)
|
||||||
assert_match('function <SNR>\d\+_ImpFunc\[1\]..<SNR>\d\+_ExpFunc, line 1', v:throwpoint)
|
assert_match('function <SNR>\d\+_ImpFunc\[1\]..<SNR>\d\+_ExpFunc, line 1', v:throwpoint)
|
||||||
endtry
|
endtry
|
||||||
@@ -4579,7 +4579,7 @@ def ProfiledNestedProfiled()
|
|||||||
Nested()
|
Nested()
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
" Execute this near the end, profiling doesn't stop until Vim exists.
|
" Execute this near the end, profiling doesn't stop until Vim exits.
|
||||||
" This only tests that it works, not the profiling output.
|
" This only tests that it works, not the profiling output.
|
||||||
def Test_xx_profile_with_lambda()
|
def Test_xx_profile_with_lambda()
|
||||||
CheckFeature profile
|
CheckFeature profile
|
||||||
|
@@ -635,12 +635,12 @@ func Test_viminfo_file_marks()
|
|||||||
call test_settime(35)
|
call test_settime(35)
|
||||||
edit again
|
edit again
|
||||||
call test_settime(40)
|
call test_settime(40)
|
||||||
edit fourty
|
edit forty
|
||||||
wviminfo Xviminfo
|
wviminfo Xviminfo
|
||||||
|
|
||||||
sp Xviminfo
|
sp Xviminfo
|
||||||
1
|
1
|
||||||
for name in ['fourty', 'again', 'thirty', 'twenty', 'ten']
|
for name in ['forty', 'again', 'thirty', 'twenty', 'ten']
|
||||||
/^>
|
/^>
|
||||||
call assert_equal(name, substitute(getline('.'), '.*/', '', ''))
|
call assert_equal(name, substitute(getline('.'), '.*/', '', ''))
|
||||||
endfor
|
endfor
|
||||||
@@ -950,7 +950,7 @@ func Test_viminfofile_none()
|
|||||||
let &viminfofile = save_vif
|
let &viminfofile = save_vif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" Test for an unwritable and unreadble 'viminfo' file
|
" Test for an unwritable and unreadable 'viminfo' file
|
||||||
func Test_viminfo_perm()
|
func Test_viminfo_perm()
|
||||||
CheckUnix
|
CheckUnix
|
||||||
CheckNotRoot
|
CheckNotRoot
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3637,
|
||||||
/**/
|
/**/
|
||||||
3636,
|
3636,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user