From 63fa6131fadd3891a27d716a6a75a15d34930c20 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Thu, 25 Apr 2013 11:00:39 +0530 Subject: [PATCH] Add tests for indented heredoc to bundles command. --- tests/bundles.t | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/bundles.t b/tests/bundles.t index 60ce29d..297991a 100644 --- a/tests/bundles.t +++ b/tests/bundles.t @@ -12,3 +12,23 @@ Check if they are both applied. hehe $ hehe2 hehe2 + +Clean it all up. + + $ export _ANTIGEN_BUNDLE_RECORD="" + $ antigen-cleanup --force &> /dev/null + +Specify with indentation. + + $ echo " $PLUGIN_DIR\n $PLUGIN_DIR2" | antigen-bundles + Cloning into '.+?'\.\.\. (re) + done. + Cloning into '.+?'\.\.\. (re) + done. + +Again, check if they are both applied. + + $ hehe + hehe + $ hehe2 + hehe2 -- 2.0.0