comparison src/testdir/test_terminal.vim @ 19715:e73167dd8cac v8.2.0414

patch 8.2.0414: channel connect_waittime() test is flaky Commit: https://github.com/vim/vim/commit/373a876d0cac5f8aff352e8ca42fdac88a1a7c3b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 19 19:44:32 2020 +0100 patch 8.2.0414: channel connect_waittime() test is flaky Problem: Channel connect_waittime() test is flaky. Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Mar 2020 19:45:03 +0100
parents 9199f34d838e
children a653d1a165ef
comparison
equal deleted inserted replaced
19714:0e0ef0f4009f 19715:e73167dd8cac
15 if has('win32') 15 if has('win32')
16 let buf = term_start([&shell,'/k'], a:options) 16 let buf = term_start([&shell,'/k'], a:options)
17 else 17 else
18 let buf = term_start(&shell, a:options) 18 let buf = term_start(&shell, a:options)
19 endif 19 endif
20 let g:test_is_flaky = 1
20 21
21 let termlist = term_list() 22 let termlist = term_list()
22 call assert_equal(1, len(termlist)) 23 call assert_equal(1, len(termlist))
23 call assert_equal(buf, termlist[0]) 24 call assert_equal(buf, termlist[0])
24 25