Commit 63fa6131fadd3891a27d716a6a75a15d34930c20

Authored by Shrikant Sharat
1 parent 57819c9aaa

Add tests for indented heredoc to bundles command.

Showing 1 changed file with 20 additions and 0 deletions Inline Diff

1 Add multiple bundles. 1 Add multiple bundles.
2 2
3 $ echo "$PLUGIN_DIR\n$PLUGIN_DIR2" | antigen-bundles 3 $ echo "$PLUGIN_DIR\n$PLUGIN_DIR2" | antigen-bundles
4 Cloning into '.+?'\.\.\. (re) 4 Cloning into '.+?'\.\.\. (re)
5 done. 5 done.
6 Cloning into '.+?'\.\.\. (re) 6 Cloning into '.+?'\.\.\. (re)
7 done. 7 done.
8 8
9 Check if they are both applied. 9 Check if they are both applied.
10 10
11 $ hehe 11 $ hehe
12 hehe 12 hehe
13 $ hehe2 13 $ hehe2
14 hehe2 14 hehe2
15
16 Clean it all up.
17
18 $ export _ANTIGEN_BUNDLE_RECORD=""
19 $ antigen-cleanup --force &> /dev/null
20
21 Specify with indentation.
22
23 $ echo " $PLUGIN_DIR\n $PLUGIN_DIR2" | antigen-bundles
24 Cloning into '.+?'\.\.\. (re)
25 done.
26 Cloning into '.+?'\.\.\. (re)
27 done.
28
29 Again, check if they are both applied.
30
31 $ hehe
32 hehe
33 $ hehe2
34 hehe2
15 35