mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-08-26 12:28:36 +02:00
18 lines
268 B
Plaintext
18 lines
268 B
Plaintext
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
|
|
|