Mercurial > vim
comparison src/testdir/test_display.vim @ 15406:63b02fcf1361 v8.1.0711
patch 8.1.0711: test files still use function!
commit https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 9 23:01:02 2019 +0100
patch 8.1.0711: test files still use function!
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Jan 2019 23:15:05 +0100 |
parents | f26a535d9464 |
children | 2dcaa860e3fc |
comparison
equal
deleted
inserted
replaced
15405:3a8785d45112 | 15406:63b02fcf1361 |
---|---|
3 set term=ansi | 3 set term=ansi |
4 endif | 4 endif |
5 | 5 |
6 source view_util.vim | 6 source view_util.vim |
7 | 7 |
8 func! Test_display_foldcolumn() | 8 func Test_display_foldcolumn() |
9 if !has("folding") | 9 if !has("folding") |
10 return | 10 return |
11 endif | 11 endif |
12 new | 12 new |
13 vnew | 13 vnew |
36 | 36 |
37 quit! | 37 quit! |
38 quit! | 38 quit! |
39 endfunc | 39 endfunc |
40 | 40 |
41 func! Test_display_foldtext_mbyte() | 41 func Test_display_foldtext_mbyte() |
42 if !has("folding") || !has("multi_byte") | 42 if !has("folding") || !has("multi_byte") |
43 return | 43 return |
44 endif | 44 endif |
45 call NewWindow(10, 40) | 45 call NewWindow(10, 40) |
46 call append(0, range(1,20)) | 46 call append(0, range(1,20)) |