comparison src/testdir/test_excmd.vim @ 24914:1186160ecf57 v8.2.2994

patch 8.2.2994: various code is not fully tested Commit: https://github.com/vim/vim/commit/2d6d718dde7163c971d37b8f4f1ed8f2d25de130 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Jun 13 21:52:48 2021 +0200 patch 8.2.2994: various code is not fully tested Problem: Various code is not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8378)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jun 2021 22:00:04 +0200
parents 4c1b6f3eb96b
children 8e9886ce88b3
comparison
equal deleted inserted replaced
24913:de12fb675362 24914:1186160ecf57
594 call assert_fails('cd `pwd`', 'E48:') 594 call assert_fails('cd `pwd`', 'E48:')
595 endif 595 endif
596 " some options cannot be changed in a sandbox 596 " some options cannot be changed in a sandbox
597 call assert_fails('set exrc', 'E48:') 597 call assert_fails('set exrc', 'E48:')
598 call assert_fails('set cdpath', 'E48:') 598 call assert_fails('set cdpath', 'E48:')
599 if has('xim') 599 if has('xim') && has('gui_gtk')
600 call assert_fails('set imstyle', 'E48:') 600 call assert_fails('set imstyle', 'E48:')
601 endif 601 endif
602 endfunc 602 endfunc
603 603
604 func Test_sandbox() 604 func Test_sandbox()