comparison src/testdir/test_ins_complete.vim @ 30051:13b02c1ea0f7 v9.0.0363

patch 9.0.0363: common names in test files causes tests to be flaky Commit: https://github.com/vim/vim/commit/b18b49699776485150b71626069a40d12d2c5590 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 2 21:55:50 2022 +0100 patch 9.0.0363: common names in test files causes tests to be flaky Problem: Common names in test files causes tests to be flaky. Solution: Use more specific names.
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Sep 2022 23:00:04 +0200
parents adb0de8be4ce
children faecc8c6916f
comparison
equal deleted inserted replaced
30050:4d0a9c80a90c 30051:13b02c1ea0f7
1224 " Test for completing from a thesaurus file without read permission 1224 " Test for completing from a thesaurus file without read permission
1225 func Test_complete_unreadable_thesaurus_file() 1225 func Test_complete_unreadable_thesaurus_file()
1226 CheckUnix 1226 CheckUnix
1227 CheckNotRoot 1227 CheckNotRoot
1228 1228
1229 call writefile(['about', 'above'], 'Xfile') 1229 call writefile(['about', 'above'], 'Xunrfile')
1230 call setfperm('Xfile', '---r--r--') 1230 call setfperm('Xunrfile', '---r--r--')
1231 new 1231 new
1232 set complete=sXfile 1232 set complete=sXfile
1233 exe "normal! ia\<C-P>" 1233 exe "normal! ia\<C-P>"
1234 call assert_equal('a', getline(1)) 1234 call assert_equal('a', getline(1))
1235 bw! 1235 bw!
1236 call delete('Xfile') 1236 call delete('Xunrfile')
1237 set complete& 1237 set complete&
1238 endfunc 1238 endfunc
1239 1239
1240 " Test to ensure 'Scanning...' messages are not recorded in messages history 1240 " Test to ensure 'Scanning...' messages are not recorded in messages history
1241 func Test_z1_complete_no_history() 1241 func Test_z1_complete_no_history()