blob: c25176b0743e5d351e9ad904ffe65af6ca1f330f [file] [log] [blame]
Bram Moolenaarf4e11432013-07-03 16:53:03 +02001Test whether glob()/globpath() return correct results with certain escaped
2characters.
3
4STARTTEST
5:so small.vim
6:set shell=doesnotexist
7:e test.out
Bram Moolenaar1b1063a2014-05-07 18:35:30 +02008:$put =glob('Xxx\{')
9:$put =glob('Xxx\$')
Bram Moolenaarf4e11432013-07-03 16:53:03 +020010:w! Xxx{
11:w! Xxx\$
Bram Moolenaar1b1063a2014-05-07 18:35:30 +020012:$put =glob('Xxx\{')
13:$put =glob('Xxx\$')
14:"
15:$put =string(globpath('sautest/autoload', '*.vim'))
16:$put =string(globpath('sautest/autoload', '*.vim', 0, 1))
Bram Moolenaarf4e11432013-07-03 16:53:03 +020017:w
18:qa!
19ENDTEST
20