Mercurial > vim
comparison src/testdir/test_listlbr.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 | c004e17fa36b |
children | f38fcbf343ce |
comparison
equal
deleted
inserted
replaced
15405:3a8785d45112 | 15406:63b02fcf1361 |
---|---|
11 | 11 |
12 function s:screen_lines(lnum, width) abort | 12 function s:screen_lines(lnum, width) abort |
13 return ScreenLines(a:lnum, a:width) | 13 return ScreenLines(a:lnum, a:width) |
14 endfunction | 14 endfunction |
15 | 15 |
16 function! s:compare_lines(expect, actual) | 16 func s:compare_lines(expect, actual) |
17 call assert_equal(join(a:expect, "\n"), join(a:actual, "\n")) | 17 call assert_equal(join(a:expect, "\n"), join(a:actual, "\n")) |
18 endfunction | 18 endfunc |
19 | 19 |
20 function s:test_windows(...) | 20 function s:test_windows(...) |
21 call NewWindow(10, 20) | 21 call NewWindow(10, 20) |
22 setl ts=8 sw=4 sts=4 linebreak sbr= wrap | 22 setl ts=8 sw=4 sts=4 linebreak sbr= wrap |
23 exe get(a:000, 0, '') | 23 exe get(a:000, 0, '') |