mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
Add test for reverting hunks.
This commit is contained in:
0
test/hunkRevertGitDiff.expected
Normal file
0
test/hunkRevertGitDiff.expected
Normal file
2
test/hunkRevertSigns.expected
Normal file
2
test/hunkRevertSigns.expected
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
--- Signs ---
|
||||
7
test/testHunkRevert.vim
Normal file
7
test/testHunkRevert.vim
Normal file
@@ -0,0 +1,7 @@
|
||||
source helper.vim
|
||||
call Setup()
|
||||
|
||||
normal 5Gi*
|
||||
execute 'GitGutterRevertHunk'
|
||||
call DumpSigns('hunkRevertSigns')
|
||||
call DumpGitDiff('hunkRevertGitDiff')
|
||||
Reference in New Issue
Block a user