diff src/testdir/test_quickfix.vim @ 29320:a74398c432a4 v9.0.0003

patch 9.0.0003: functions are global while they could be local Commit: https://github.com/vim/vim/commit/ee47eaceaa148e07b566ff420f9a3c2edde2fa34 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 29 12:55:36 2022 +0100 patch 9.0.0003: functions are global while they could be local Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jun 2022 14:00:03 +0200
parents 45c182c4f7e9
children 4ad168b282bd
line wrap: on
line diff
--- a/src/testdir/test_quickfix.vim
+++ b/src/testdir/test_quickfix.vim
@@ -3363,8 +3363,11 @@ func Test_bufoverflow()
   cgetexpr ['Compiler: ' . repeat('a', 1015), 'File1:10:Hello World']
 
   set efm=%DEntering\ directory\ %f,%f:%l:%m
-  cgetexpr ['Entering directory ' . repeat('a', 1006),
-	      \ 'File1:10:Hello World']
+  let lines =<< trim eval END
+    Entering directory $"{repeat('a', 1006)}"
+    File1:10:Hello World
+  END
+  cgetexpr lines
   set efm&vim
 endfunc