Mercurial > vim
comparison src/testdir/test_exit.vim @ 27833:32366687a0dc v8.2.4442
patch 8.2.4442: test for error reading input fails on MS-Windows
Commit: https://github.com/vim/vim/commit/70b9e4f4c3a62e325fd16ac108bd12feb026ede5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 22 15:24:51 2022 +0000
patch 8.2.4442: test for error reading input fails on MS-Windows
Problem: Test for error reading input fails on MS-Windows.
Solution: Don't run the test on MS-Windows.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Feb 2022 16:30:02 +0100 |
parents | 041de9fe95db |
children | 264cb6d2d0e9 |
comparison
equal
deleted
inserted
replaced
27832:442e39ce347f | 27833:32366687a0dc |
---|---|
110 call delete('Xtestout') | 110 call delete('Xtestout') |
111 endfunc | 111 endfunc |
112 | 112 |
113 func Test_exit_error_reading_input() | 113 func Test_exit_error_reading_input() |
114 CheckNotGui | 114 CheckNotGui |
115 CheckNotMSWindows | |
115 | 116 |
116 call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew\<CR>q:"], 'Xscript') | 117 call writefile([":au VimLeave * call writefile(['l = ' .. v:exiting], 'Xtestout')", ":tabnew\<CR>q:"], 'Xscript') |
117 | 118 |
118 if RunVim([], [], '< Xscript') | 119 if RunVim([], [], '< Xscript') |
119 call assert_equal(['l = 1'], readfile('Xtestout')) | 120 call assert_equal(['l = 1'], readfile('Xtestout')) |