comparison src/testdir/test_vim9_script.vim @ 28117:106795d5106e v8.2.4583

patch 8.2.4583: screendump test fails Commit: https://github.com/vim/vim/commit/4f6e772c9cd013a8690ab0f1efecc0ab3e855148 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 16 20:26:02 2022 +0000 patch 8.2.4583: screendump test fails Problem: Screendump test fails. Solution: Check that making a screendump is possible.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Mar 2022 21:30:03 +0100
parents 62a57c60edc1
children ed151877ebac
comparison
equal deleted inserted replaced
28116:95f9694da586 28117:106795d5106e
3980 delete('Xdidprofile') 3980 delete('Xdidprofile')
3981 delete('Xprofile.log') 3981 delete('Xprofile.log')
3982 delete('Xprofile.vim') 3982 delete('Xprofile.vim')
3983 enddef 3983 enddef
3984 3984
3985 def Test_misplaced_type() 3985 func Test_misplaced_type()
3986 CheckRunVimInTerminal
3987 call Run_Test_misplaced_type()
3988 endfunc
3989
3990 def Run_Test_misplaced_type()
3986 writefile(['let g:somevar = "asdf"'], 'XTest_misplaced_type') 3991 writefile(['let g:somevar = "asdf"'], 'XTest_misplaced_type')
3987 var buf = g:RunVimInTerminal('-S XTest_misplaced_type', {'rows': 6}) 3992 var buf = g:RunVimInTerminal('-S XTest_misplaced_type', {'rows': 6})
3988 term_sendkeys(buf, ":vim9cmd echo islocked('g:somevar: string')\<CR>") 3993 term_sendkeys(buf, ":vim9cmd echo islocked('g:somevar: string')\<CR>")
3989 g:VerifyScreenDump(buf, 'Test_misplaced_type', {}) 3994 g:VerifyScreenDump(buf, 'Test_misplaced_type', {})
3990 3995