comparison src/testdir/test_window_cmd.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 83ff85896a14
children 7fbdceabad64
comparison
equal deleted inserted replaced
15405:3a8785d45112 15406:63b02fcf1361
576 call assert_equal(2, winheight(0)) 576 call assert_equal(2, winheight(0))
577 call assert_equal(3, winwidth(0)) 577 call assert_equal(3, winwidth(0))
578 only 578 only
579 endfunc 579 endfunc
580 580
581 function! Fun_RenewFile() 581 func Fun_RenewFile()
582 sleep 2 582 sleep 2
583 silent execute '!echo "1" > tmp.txt' 583 silent execute '!echo "1" > tmp.txt'
584 sp 584 sp
585 wincmd p 585 wincmd p
586 edit! tmp.txt 586 edit! tmp.txt
587 endfunction 587 endfunc
588 588
589 func Test_window_prevwin() 589 func Test_window_prevwin()
590 " Can we make this work on MS-Windows? 590 " Can we make this work on MS-Windows?
591 if !has('unix') 591 if !has('unix')
592 return 592 return