comparison src/testdir/test_plus_arg_edit.vim @ 19471:cb73f4ae6b7c v8.2.0293

patch 8.2.0293: various Ex commands not sufficiently tested Commit: https://github.com/vim/vim/commit/818fc9ad143911b2faa0d7cee86724aa70a02080 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 21 17:54:45 2020 +0100 patch 8.2.0293: various Ex commands not sufficiently tested Problem: Various Ex commands not sufficiently tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5673)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Feb 2020 18:00:05 +0100
parents 2f4be7ca1b1b
children 08940efa6b4e
comparison
equal deleted inserted replaced
19470:ddc2e7caff46 19471:cb73f4ae6b7c
16 16
17 " Without ++bad=..., the default behavior is like ++bad=? 17 " Without ++bad=..., the default behavior is like ++bad=?
18 e! ++enc=utf8 Xfile 18 e! ++enc=utf8 Xfile
19 call assert_equal('[?][?][???][??]', getline(1)) 19 call assert_equal('[?][?][???][??]', getline(1))
20 20
21 e! ++enc=utf8 ++bad=_ Xfile 21 e! ++encoding=utf8 ++bad=_ Xfile
22 call assert_equal('[_][_][___][__]', getline(1)) 22 call assert_equal('[_][_][___][__]', getline(1))
23 23
24 e! ++enc=utf8 ++bad=drop Xfile 24 e! ++enc=utf8 ++bad=drop Xfile
25 call assert_equal('[][][][]', getline(1)) 25 call assert_equal('[][][][]', getline(1))
26 26