Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
23107:6daa688e0e24 | 23108:34a74f5f0fb4 |
---|---|
151 new | 151 new |
152 silent recover .Xsig_TERM.swp | 152 silent recover .Xsig_TERM.swp |
153 call assert_equal(['foo'], getline(1, '$')) | 153 call assert_equal(['foo'], getline(1, '$')) |
154 | 154 |
155 let result = readfile('XautoOut') | 155 let result = readfile('XautoOut') |
156 call assert_match('VimLeavePre triggered', result[0]) | 156 call assert_equal(["VimLeavePre triggered", "VimLeave triggered"], result) |
157 call assert_match('VimLeave triggered', result[1]) | |
158 | 157 |
159 %bwipe! | 158 %bwipe! |
160 call delete('.Xsig_TERM.swp') | 159 call delete('.Xsig_TERM.swp') |
161 call delete('XsetupAucmd') | 160 call delete('XsetupAucmd') |
162 call delete('XautoOut') | 161 call delete('XautoOut') |