mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-17 05:49:41 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f083d765d8 | |||
| 45b6334faf |
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user