Blame view

tests/bundle.t 869 Bytes
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
1
  Load plugin from master.
293eecb90   Shrikant Sharat   Remove hard coded...
2
    $ antigen-bundle $PLUGIN_DIR
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
3
4
5
6
    Cloning into '.+?'\.\.\. (re)
    done.
    $ hehe
    hehe
8a241a167   Shrikant Sharat   Refactoring and a...
7
8
9
10
11
  Load the plugin again. Just to see nothing happens.
  
    $ antigen-bundle $PLUGIN_DIR
    $ hehe
    hehe
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
12
  Update the plugin.
293eecb90   Shrikant Sharat   Remove hard coded...
13
    $ cat > $PLUGIN_DIR/aliases.zsh <<EOF
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
14
15
16
17
18
19
20
21
22
    > alias hehe='echo hehe, updated'
    > EOF
    $ pg commit -am 'Updated message'
    \[master [a-f0-9]{7}\] Updated message (re)
     1 file changed, 1 insertion(+), 1 deletion(-)
  
  Update bundles.
  
    $ antigen-update
5d199ab20   Shrikant Sharat   Print the repo ur...
23
24
25
26
    **** Pulling */test-plugin (glob)
    From */test-plugin (glob)
       ???????..???????  master     -> origin/master (glob)
    Updating ???????..??????? (glob)
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
27
28
29
    Fast-forward
     aliases.zsh |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
5d199ab20   Shrikant Sharat   Print the repo ur...
30
    
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
31
32
33
34
35
36
37
38
39
40
  
  Confirm there is still only one repository.
  
    $ ls $ADOTDIR/repos | wc -l
    1
  
  The new alias should not activate.
  
    $ hehe
    hehe