mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -05:00
Add test for filenames with square brackets.
This commit is contained in:
5
test/filenameWithSquareBrackets.expected
Normal file
5
test/filenameWithSquareBrackets.expected
Normal 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
0
test/fix[tu]re.txt
Normal file
9
test/testFilenameWithSquareBrackets.vim
Normal file
9
test/testFilenameWithSquareBrackets.vim
Normal 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')
|
||||||
Reference in New Issue
Block a user