diff src/testdir/test_signals.vim @ 23108:34a74f5f0fb4 v8.2.2100

patch 8.2.2100: insufficient testing for function range and dict Commit: https://github.com/vim/vim/commit/67322bf74a106b6476b093e75da87d61e2181b76 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 6 15:03:19 2020 +0100 patch 8.2.2100: insufficient testing for function range and dict Problem: Insufficient testing for function range and dict. Solution: Add a few tests. (Dominique Pell?, closes https://github.com/vim/vim/issues/7428)
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Dec 2020 15:15:04 +0100
parents 20b6d5304e56
children 826a6406ea7b
line wrap: on
line diff
--- a/src/testdir/test_signals.vim
+++ b/src/testdir/test_signals.vim
@@ -153,8 +153,7 @@ func Test_deadly_signal_TERM()
   call assert_equal(['foo'], getline(1, '$'))
 
   let result = readfile('XautoOut')
-  call assert_match('VimLeavePre triggered', result[0])
-  call assert_match('VimLeave triggered', result[1])
+  call assert_equal(["VimLeavePre triggered", "VimLeave triggered"], result)
 
   %bwipe!
   call delete('.Xsig_TERM.swp')