comparison src/testdir/test_terminal.vim @ 19969:b07672d13ff9 v8.2.0540

patch 8.2.0540: regexp and other code not tested Commit: https://github.com/vim/vim/commit/004a6781b3cf15ca5dd632c38cc09bb3b253d1f8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 11 17:09:31 2020 +0200 patch 8.2.0540: regexp and other code not tested Problem: Regexp and other code not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5904)
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Apr 2020 17:15:06 +0200
parents c087099e9163
children 165ec447ca77
comparison
equal deleted inserted replaced
19968:1908e92b02fd 19969:b07672d13ff9
40 call assert_equal('yes', b:done) 40 call assert_equal('yes', b:done)
41 call assert_match('%aR[^\n]*running]', execute('ls')) 41 call assert_match('%aR[^\n]*running]', execute('ls'))
42 call assert_match('%aR[^\n]*running]', execute('ls R')) 42 call assert_match('%aR[^\n]*running]', execute('ls R'))
43 call assert_notmatch('%[^\n]*running]', execute('ls F')) 43 call assert_notmatch('%[^\n]*running]', execute('ls F'))
44 call assert_notmatch('%[^\n]*running]', execute('ls ?')) 44 call assert_notmatch('%[^\n]*running]', execute('ls ?'))
45 call assert_fails('set modifiable', 'E946:')
45 46
46 call StopShellInTerminal(buf) 47 call StopShellInTerminal(buf)
47 call TermWait(buf) 48 call TermWait(buf)
48 call assert_equal('n', mode()) 49 call assert_equal('n', mode())
49 call assert_match('%aF[^\n]*finished]', execute('ls')) 50 call assert_match('%aF[^\n]*finished]', execute('ls'))