aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_excmd.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-25 12:00:08 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-25 12:00:08 +0200
commit36622014c640ad5df19269e63ad037c104efce9c (patch)
tree3f5cde7423587bd69dcdb2b5b326580129e4ef68 /src/nvim/testdir/test_excmd.vim
parentd1faf900b1c682c0d5c20854fcd8d6d02a12200c (diff)
parent0925afcfcfd3fb024a35d10ee8f584b67bdc9000 (diff)
downloadrneovim-36622014c640ad5df19269e63ad037c104efce9c.tar.gz
rneovim-36622014c640ad5df19269e63ad037c104efce9c.tar.bz2
rneovim-36622014c640ad5df19269e63ad037c104efce9c.zip
Merge #10596 'vim-patch:8.1.{899,903,905,907,908,910,913,1746}'
close #9930 close #10051
Diffstat (limited to 'src/nvim/testdir/test_excmd.vim')
-rw-r--r--src/nvim/testdir/test_excmd.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim
new file mode 100644
index 0000000000..f5ce979208
--- /dev/null
+++ b/src/nvim/testdir/test_excmd.vim
@@ -0,0 +1,10 @@
+" Tests for various Ex commands.
+
+func Test_ex_delete()
+ new
+ call setline(1, ['a', 'b', 'c'])
+ 2
+ " :dl is :delete with the "l" flag, not :dlist
+ .dl
+ call assert_equal(['a', 'c'], getline(1, 2))
+endfunc