Add test for filenames with square brackets.

This commit is contained in:
Andy Stewart
2014-11-14 14:19:35 +01:00
parent a114088f22
commit af1f405692
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
--- Signs ---
Signs for fix[tu]re.txt:
line=1 id=3000 name=GitGutterLineAdded
line=2 id=3001 name=GitGutterLineAdded

0
test/fix[tu]re.txt Normal file
View File

View File

@@ -0,0 +1,9 @@
source helper.vim
edit fix[tu]re.txt
normal ggo*
write
call DumpSigns('filenameWithSquareBrackets')
call system('git reset HEAD fix[tu]re.txt')
call system('git checkout fix[tu]re.txt')