comparison src/testdir/test_window_cmd.vim @ 21765:08940efa6b4e v8.2.1432

patch 8.2.1432: various inconsistencies in test files Commit: https://github.com/vim/vim/commit/6d91bcb4d23b5c6a0be72c384beaf385e2d9d606 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 18:50:36 2020 +0200 patch 8.2.1432: various inconsistencies in test files Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 19:00:08 +0200
parents 6a4806e326dd
children 28b302ccfe21
comparison
equal deleted inserted replaced
21764:476b6faad407 21765:08940efa6b4e
1 " Tests for window cmd (:wincmd, :split, :vsplit, :resize and etc...) 1 " Tests for window cmd (:wincmd, :split, :vsplit, :resize and etc...)
2 2
3 so check.vim 3 source check.vim
4 4
5 func Test_window_cmd_ls0_with_split() 5 func Test_window_cmd_ls0_with_split()
6 set ls=0 6 set ls=0
7 set splitbelow 7 set splitbelow
8 split 8 split
653 edit! tmp.txt 653 edit! tmp.txt
654 endfunc 654 endfunc
655 655
656 func Test_window_prevwin() 656 func Test_window_prevwin()
657 " Can we make this work on MS-Windows? 657 " Can we make this work on MS-Windows?
658 if !has('unix') 658 CheckUnix
659 return
660 endif
661 659
662 set hidden autoread 660 set hidden autoread
663 call writefile(['2'], 'tmp.txt') 661 call writefile(['2'], 'tmp.txt')
664 new tmp.txt 662 new tmp.txt
665 q 663 q