test: add branch extensions test

This commit is contained in:
get-me-power 2023-06-03 23:46:37 +09:00
parent 423fe9e2ac
commit 45b6334faf

View File

@ -0,0 +1,17 @@
Describe branch.vim
Before
call mkdir("branch-test")
:lcd branch-test
!git init
End
It Match branch name main
Assert Match(airline#extensions#branch#get_head(), "main")
End
After
call delete("branch-test", "rf")
:lcd ..
End
End