Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
29319:0f3ce048146b | 29320:a74398c432a4 |
---|---|
3361 | 3361 |
3362 set efm=%+GCompiler:\ %.%#,%f:%l:%m | 3362 set efm=%+GCompiler:\ %.%#,%f:%l:%m |
3363 cgetexpr ['Compiler: ' . repeat('a', 1015), 'File1:10:Hello World'] | 3363 cgetexpr ['Compiler: ' . repeat('a', 1015), 'File1:10:Hello World'] |
3364 | 3364 |
3365 set efm=%DEntering\ directory\ %f,%f:%l:%m | 3365 set efm=%DEntering\ directory\ %f,%f:%l:%m |
3366 cgetexpr ['Entering directory ' . repeat('a', 1006), | 3366 let lines =<< trim eval END |
3367 \ 'File1:10:Hello World'] | 3367 Entering directory $"{repeat('a', 1006)}" |
3368 File1:10:Hello World | |
3369 END | |
3370 cgetexpr lines | |
3368 set efm&vim | 3371 set efm&vim |
3369 endfunc | 3372 endfunc |
3370 | 3373 |
3371 " Tests for getting the quickfix stack size | 3374 " Tests for getting the quickfix stack size |
3372 func XsizeTests(cchar) | 3375 func XsizeTests(cchar) |