diff --git a/Makefile b/Makefile index 4883176..f4e0688 100644 --- a/Makefile +++ b/Makefile @@ -2,4 +2,4 @@ tests: ZDOTDIR="${PWD}/tests" cram -i --shell=zsh tests/branch-bundle.t \ - tests/bundle.t tests/url-resolver.t + tests/bundle.t tests/url-resolver.t tests/antigen-wrapper.t diff --git a/tests/antigen-wrapper.t b/tests/antigen-wrapper.t new file mode 100644 index 0000000..a88f59f --- /dev/null +++ b/tests/antigen-wrapper.t @@ -0,0 +1,21 @@ +Create a dummy antigen command. + + $ antigen-dummy () { + > echo me dummy + > } + +Check the normal way of calling it + + $ antigen-dummy + me dummy + +Call with the wrapper syntax. + + $ antigen dummy + me dummy + +Call with an alias + + $ alias a=antigen + $ a dummy + me dummy