Blame view

tests/bundle.t 602 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
e8a2b3a63   Shrikant Sharat   Added tests for l...
3
    Cloning into '*'... (glob)
e0d9ad45a   Shrikant Sharat   Fix #9 Add test f...
4
5
6
    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
13
14
15
  Confirm there is still only one repository.
  
    $ ls $ADOTDIR/repos | wc -l
    1
e8a2b3a63   Shrikant Sharat   Added tests for l...
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
  Load a prezto style module. Should only source the `init.zsh` present in the
  module.
  
    $ antigen-bundle $PLUGIN_DIR2
    Cloning into '*'... (glob)
    done.
    $ hehe2
    hehe2
  
  The alias defined in the other zsh file should not be available.
  
    $ unsourced-alias
    zsh: command not found: unsourced-alias
    [127]