We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7465c63 commit ac80999Copy full SHA for ac80999
1 file changed
src/testdir/test_glob2regpat.vim
@@ -0,0 +1,10 @@
1
+" Test glob2regpat()
2
+
3
+func Test_invalid()
4
+ call assert_fails('call glob2regpat(1.33)', 'E806:')
5
+endfunc
6
7
+func Test_valid()
8
+ call assert_equal('^foo\.', glob2regpat('foo.*'))
9
+ call assert_equal('\.vim$', glob2regpat('*.vim'))
10
0 commit comments