mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-12 21:33:53 -05:00
Add test for revert subsequent nearby hunk.
This commit is contained in:
9
test/testHunkRevertNearbyHunk.vim
Normal file
9
test/testHunkRevertNearbyHunk.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
source helper.vim
|
||||
call Setup()
|
||||
|
||||
execute "normal! 2Gox\<CR>y\<CR>z"
|
||||
normal 2jdd
|
||||
normal k
|
||||
execute 'GitGutterRevertHunk'
|
||||
call DumpSigns('hunkRevertNearbySigns')
|
||||
call DumpGitDiff('hunkRevertNearbyGitDiff')
|
||||
Reference in New Issue
Block a user