patch 8.2.0540: regexp and other code not tested
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5904)
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index dc488cb..7b92774 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -42,6 +42,7 @@
call assert_match('%aR[^\n]*running]', execute('ls R'))
call assert_notmatch('%[^\n]*running]', execute('ls F'))
call assert_notmatch('%[^\n]*running]', execute('ls ?'))
+ call assert_fails('set modifiable', 'E946:')
call StopShellInTerminal(buf)
call TermWait(buf)