comparison src/testdir/test_number.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 a479b7064550
children a513b81d3689
comparison
equal deleted inserted replaced
15405:3a8785d45112 15406:63b02fcf1361
1 " Test for 'number' and 'relativenumber' 1 " Test for 'number' and 'relativenumber'
2 2
3 source view_util.vim 3 source view_util.vim
4 4
5 func! s:screen_lines(start, end) abort 5 func s:screen_lines(start, end) abort
6 return ScreenLines([a:start, a:end], 8) 6 return ScreenLines([a:start, a:end], 8)
7 endfunc 7 endfunc
8 8
9 func! s:compare_lines(expect, actual) 9 func s:compare_lines(expect, actual)
10 call assert_equal(a:expect, a:actual) 10 call assert_equal(a:expect, a:actual)
11 endfunc 11 endfunc
12 12
13 func! s:test_windows(h, w) abort 13 func s:test_windows(h, w) abort
14 call NewWindow(a:h, a:w) 14 call NewWindow(a:h, a:w)
15 endfunc 15 endfunc
16 16
17 func! s:close_windows() abort 17 func s:close_windows() abort
18 call CloseWindow() 18 call CloseWindow()
19 endfunc 19 endfunc
20 20
21 func! s:validate_cursor() abort 21 func s:validate_cursor() abort
22 " update skipcol. 22 " update skipcol.
23 " wincol(): 23 " wincol():
24 " f_wincol 24 " f_wincol
25 " -> validate_cursor 25 " -> validate_cursor
26 " -> curs_columns 26 " -> curs_columns