Files
vim-gitgutter/test/testHunkStage.vim
2016-10-19 10:00:11 +01:00

14 lines
292 B
VimL

source helper.vim
call Setup()
set shell=foo
normal 5Gi*
execute 'GitGutterStageHunk'
call assert_equal('foo', &shell) " NOTE: current test runner ignores v:errors so this line has no effect
set shell=/bin/bash
call DumpSigns('hunkStageSigns')
call DumpGitDiffStaged('hunkStageGitDiff')