Mercurial > vim
comparison src/testdir/test_vimscript.vim @ 31349:22d11340ee68 v9.0.1008
patch 9.0.1008: test for swapfilelist() fails on MS-Windows
Commit: https://github.com/vim/vim/commit/6cf3151f0e3839332c89367b7384c395a1185927
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 5 15:01:05 2022 +0000
patch 9.0.1008: test for swapfilelist() fails on MS-Windows
Problem: Test for swapfilelist() fails on MS-Windows.
Solution: Only check the tail of the path. Mark a test as flaky.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Dec 2022 16:15:04 +0100 |
parents | 39698292a849 |
children | a207f55deb62 |
comparison
equal
deleted
inserted
replaced
31348:fa722fa1b6e6 | 31349:22d11340ee68 |
---|---|
5975 call RunInNewVim(test, verify) | 5975 call RunInNewVim(test, verify) |
5976 endfunc | 5976 endfunc |
5977 | 5977 |
5978 " interrupt right before a catch is invoked in a script | 5978 " interrupt right before a catch is invoked in a script |
5979 func Test_ignore_catch_after_intr_1() | 5979 func Test_ignore_catch_after_intr_1() |
5980 " for unknown reasons this test sometimes fails on MS-Windows. | |
5981 let g:test_is_flaky = 1 | |
5982 | |
5980 XpathINIT | 5983 XpathINIT |
5981 let lines =<< trim [CODE] | 5984 let lines =<< trim [CODE] |
5982 try | 5985 try |
5983 try | 5986 try |
5984 Xpath 'a' | 5987 Xpath 'a' |