Mercurial > vim
comparison src/testdir/test_startup.vim @ 22502:1503ecd54f8a v8.2.1799
patch 8.2.1799: some Normal mode commands not fully tested
Commit: https://github.com/vim/vim/commit/d1ad99b65470d3e754f6a0588a6b0dc2214a1eab
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 4 16:16:54 2020 +0200
patch 8.2.1799: some Normal mode commands not fully tested
Problem: Some Normal mode commands not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/7073)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Oct 2020 16:30:03 +0200 |
parents | 08940efa6b4e |
children | 990466a75d3c |
comparison
equal
deleted
inserted
replaced
22501:ce527f2034c0 | 22502:1503ecd54f8a |
---|---|
911 [CODE] | 911 [CODE] |
912 if RunVim([], after, '-n') | 912 if RunVim([], after, '-n') |
913 call assert_equal([], readfile('Xtestout')) | 913 call assert_equal([], readfile('Xtestout')) |
914 call delete('Xtestout') | 914 call delete('Xtestout') |
915 endif | 915 endif |
916 call delete('Xafter') | |
917 endfunc | 916 endfunc |
918 | 917 |
919 " Test for the "-h" (help) argument | 918 " Test for the "-h" (help) argument |
920 func Test_h_arg() | 919 func Test_h_arg() |
921 " Can't catch the output of gvim. | 920 " Can't catch the output of gvim. |
943 [CODE] | 942 [CODE] |
944 if RunVim([], after, '-E') | 943 if RunVim([], after, '-E') |
945 call assert_equal([], readfile('Xtestout')) | 944 call assert_equal([], readfile('Xtestout')) |
946 call delete('Xtestout') | 945 call delete('Xtestout') |
947 endif | 946 endif |
948 call delete('Xafter') | |
949 endfunc | 947 endfunc |
950 | 948 |
951 " Test for too many edit argument errors | 949 " Test for too many edit argument errors |
952 func Test_too_many_edit_args() | 950 func Test_too_many_edit_args() |
953 " Can't catch the output of gvim. | 951 " Can't catch the output of gvim. |