mirror of
https://github.com/neovim/neovim.git
synced 2026-08-04 22:58:50 +00:00
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
8903676d3d
Restore test_assert.vim to run Test_zz_quit_detected().
8 lines
182 B
VimL
8 lines
182 B
VimL
" Test that the methods used for testing work.
|
|
|
|
" Must be last.
|
|
func Test_zz_quit_detected()
|
|
" Verify that if a test function ends Vim the test script detects this.
|
|
quit
|
|
endfunc
|