mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-04-08 19:35:31 +02:00
Merge f083d765d813d6563fa83099add1d9353a25308d into 7a552f415c48aed33bf7eaa3c50e78504d417913
This commit is contained in:
commit
ff5c38d8b1
17
test/extensions_branch.vimspec
Normal file
17
test/extensions_branch.vimspec
Normal 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 Equals(airline#extensions#branch#get_head(), "main")
|
||||
End
|
||||
|
||||
After
|
||||
call delete("branch-test", "rf")
|
||||
:lcd ..
|
||||
End
|
||||
End
|
||||
|
Loading…
x
Reference in New Issue
Block a user