Mercurial > vim
comparison src/testdir/test_paste.vim @ 25969:a5a772dace5b v8.2.3518
patch 8.2.3518: Test_xrestore sometimes fails
Commit: https://github.com/vim/vim/commit/f08b0eb8691ff09f98bc4beef986ece1c521655f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 16 13:00:14 2021 +0100
patch 8.2.3518: Test_xrestore sometimes fails
Problem: Test_xrestore sometimes fails.
Solution: Mark the test as flayky. Move marking test as flaky to the test
instead of listing them in runtest.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Oct 2021 14:15:04 +0200 |
parents | 1186160ecf57 |
children | 7c07681f8a05 |
comparison
equal
deleted
inserted
replaced
25968:c506b33fff84 | 25969:a5a772dace5b |
---|---|
134 call assert_equal('copy this', getline(2)) | 134 call assert_equal('copy this', getline(2)) |
135 endfunc | 135 endfunc |
136 | 136 |
137 func Test_xrestore() | 137 func Test_xrestore() |
138 CheckFeature xterm_clipboard | 138 CheckFeature xterm_clipboard |
139 let g:test_is_flaky = 1 | |
140 | |
139 let display = $DISPLAY | 141 let display = $DISPLAY |
140 new | 142 new |
141 call CheckCopyPaste() | 143 call CheckCopyPaste() |
142 | 144 |
143 xrestore | 145 xrestore |