diff options
author | lonerover <pathfinder1644@yahoo.com> | 2017-03-12 11:31:50 +0800 |
---|---|---|
committer | lonerover <pathfinder1644@yahoo.com> | 2017-03-12 11:33:49 +0800 |
commit | ce6d2fbb613843afe9068f9f3738f2dc47adbe76 (patch) | |
tree | fcb6410c283a28386ad9fe2acb8a15429fc749c1 | |
parent | b2b15e6e137d7be2b01bf2174791f36bd12981bd (diff) | |
download | rneovim-ce6d2fbb613843afe9068f9f3738f2dc47adbe76.tar.gz rneovim-ce6d2fbb613843afe9068f9f3738f2dc47adbe76.tar.bz2 rneovim-ce6d2fbb613843afe9068f9f3738f2dc47adbe76.zip |
vim-patch:ac80999
add missing test file
https://github.com/vim/vim/commit/ac80999985299dae4a9ef56dbf31fbdb35c04c08
-rw-r--r-- | src/nvim/testdir/test_glob2regpat.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_glob2regpat.vim b/src/nvim/testdir/test_glob2regpat.vim new file mode 100644 index 0000000000..250ab2746c --- /dev/null +++ b/src/nvim/testdir/test_glob2regpat.vim @@ -0,0 +1,10 @@ +" Test glob2regpat() + +func Test_invalid() + call assert_fails('call glob2regpat(1.33)', 'E806:') +endfunc + +func Test_valid() + call assert_equal('^foo\.', glob2regpat('foo.*')) + call assert_equal('\.vim$', glob2regpat('*.vim')) +endfunc |