mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.1184: some tests fail
Problem: Some tests fail.
Solution: Adjust tests for different assert_fails() behavior. Remove unused
variable.
2b6ef856fb
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -20,13 +20,8 @@ func Test_nocatch_restore_silent_emsg()
|
|||||||
throw 1
|
throw 1
|
||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
echoerr 'wrong'
|
echoerr 'wrong again'
|
||||||
let c1 = nr2char(screenchar(&lines, 1))
|
call assert_equal('wrong again', ScreenLine(&lines))
|
||||||
let c2 = nr2char(screenchar(&lines, 2))
|
|
||||||
let c3 = nr2char(screenchar(&lines, 3))
|
|
||||||
let c4 = nr2char(screenchar(&lines, 4))
|
|
||||||
let c5 = nr2char(screenchar(&lines, 5))
|
|
||||||
call assert_equal('wrong', c1 . c2 . c3 . c4 . c5)
|
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_mkdir_p()
|
func Test_mkdir_p()
|
||||||
|
Reference in New Issue
Block a user