mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Add assertion for path of untracked file.
This commit is contained in:
@@ -287,6 +287,7 @@ function Test_untracked_file_within_repo()
|
|||||||
call s:trigger_gitgutter()
|
call s:trigger_gitgutter()
|
||||||
|
|
||||||
call assert_equal([], s:signs(tmp))
|
call assert_equal([], s:signs(tmp))
|
||||||
|
call assert_equal(-2, b:gitgutter.path)
|
||||||
|
|
||||||
call system('rm '.tmp)
|
call system('rm '.tmp)
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user