Problem: Screendump test fails.
Solution: Check that making a screendump is possible.
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>")
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4583,
/**/
4582,
/**/