Add assertion for path of untracked file.

This commit is contained in:
Andy Stewart
2018-11-17 17:24:48 +00:00
parent 208b439585
commit 3f642a0bb8

View File

@@ -287,6 +287,7 @@ function Test_untracked_file_within_repo()
call s:trigger_gitgutter()
call assert_equal([], s:signs(tmp))
call assert_equal(-2, b:gitgutter.path)
call system('rm '.tmp)
endfunction