diff --git a/test/extensions_branch.vimspec b/test/extensions_branch.vimspec new file mode 100644 index 00000000..18d0f5c2 --- /dev/null +++ b/test/extensions_branch.vimspec @@ -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 +