Mercurial > vim
comparison src/testdir/test_mksession.vim @ 24576:b39b56c0debc v8.2.2827
patch 8.2.2827: test file was not deleted
Commit: https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon May 3 19:08:37 2021 +0200
patch 8.2.2827: test file was not deleted
Problem: Test file was not deleted.
Solution: Uncomment the delete() call. (Dominique Pell?, closes https://github.com/vim/vim/issues/8172)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 May 2021 19:15:03 +0200 |
parents | f6049d3ab81c |
children | 4c1b6f3eb96b |
comparison
equal
deleted
inserted
replaced
24575:508b3b164d2a | 24576:b39b56c0debc |
---|---|
185 split | 185 split |
186 wincmd _ | 186 wincmd _ |
187 mksession! Xtest_mks_zero | 187 mksession! Xtest_mks_zero |
188 set winminheight& | 188 set winminheight& |
189 let text = readfile('Xtest_mks_zero')->join() | 189 let text = readfile('Xtest_mks_zero')->join() |
190 "call delete('Xtest_mks_zero') | 190 call delete('Xtest_mks_zero') |
191 close | 191 close |
192 " check there is no devide by zero | 192 " check there is no divide by zero |
193 call assert_notmatch('/ 0[^0-9]', text) | 193 call assert_notmatch('/ 0[^0-9]', text) |
194 endfunc | 194 endfunc |
195 | 195 |
196 func Test_mksession_rtp() | 196 func Test_mksession_rtp() |
197 " TODO: fix problem with backslashes on Win32 | 197 " TODO: fix problem with backslashes on Win32 |