]> granicus.if.org Git - vim/commitdiff
patch 8.2.4583: screendump test fails v8.2.4583
authorBram Moolenaar <Bram@vim.org>
Wed, 16 Mar 2022 20:26:02 +0000 (20:26 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 16 Mar 2022 20:26:02 +0000 (20:26 +0000)
Problem:    Screendump test fails.
Solution:   Check that making a screendump is possible.

src/testdir/test_vim9_script.vim
src/version.c

index 3ad9c9d4f55c664b5562e84ae02d8b239b2dc8fc..94aa1e9d271853709cf76c88e5adc1b47622644f 100644 (file)
@@ -3982,7 +3982,12 @@ def Test_profile_with_lambda()
   delete('Xprofile.vim')
 enddef
 
-def Test_misplaced_type()
+func Test_misplaced_type()
+  CheckRunVimInTerminal
+  call Run_Test_misplaced_type()
+endfunc
+
+def Run_Test_misplaced_type()
   writefile(['let g:somevar = "asdf"'], 'XTest_misplaced_type')
   var buf = g:RunVimInTerminal('-S XTest_misplaced_type', {'rows': 6})
   term_sendkeys(buf, ":vim9cmd echo islocked('g:somevar: string')\<CR>")
index e3873d5e947ab20bb12830e6f2cb4838915acf91..4b5088cf65eadc9a3574da51a9548a696ebd795c 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4583,
 /**/
     4582,
 /**/