Skip to content

Commit

Permalink
It appears git changed its outputs a little bit.
Browse files Browse the repository at this point in the history
The line `Checking connectivity... done` has been added to git's output. We need
to find a more reliable way to test these that doesn't break with git's output
changes.
  • Loading branch information
sharat87 committed Mar 7, 2014
1 parent 164249d commit dc2d37f
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/branch-bundle.t
Expand Up @@ -20,6 +20,7 @@ Load plugin from b1.
$ antigen-bundle $PLUGIN_DIR --branch=b1
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
Switched to a new branch 'b1'
Branch b1 set up to track remote branch b1 from origin.
$ hehe
Expand All @@ -34,5 +35,6 @@ Load plugin from master.
$ antigen-bundle $PLUGIN_DIR
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
$ hehe
hehe
2 changes: 2 additions & 0 deletions tests/bundle.t
Expand Up @@ -3,6 +3,7 @@ Load plugin from master.
$ antigen-bundle $PLUGIN_DIR
Cloning into '*'... (glob)
done.
Checking connectivity... done
$ hehe
hehe

Expand All @@ -23,6 +24,7 @@ module.
$ antigen-bundle $PLUGIN_DIR2
Cloning into '*'... (glob)
done.
Checking connectivity... done
$ hehe2
hehe2

Expand Down
4 changes: 4 additions & 0 deletions tests/bundles.t
Expand Up @@ -3,8 +3,10 @@ Add multiple bundles.
$ echo "$PLUGIN_DIR\n$PLUGIN_DIR2" | antigen-bundles
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done

Check if they are both applied.

Expand All @@ -23,8 +25,10 @@ Specify with indentation.
$ echo " $PLUGIN_DIR\n $PLUGIN_DIR2" | antigen-bundles
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done

Again, check if they are both applied.

Expand Down
2 changes: 2 additions & 0 deletions tests/cleanup.t
Expand Up @@ -8,9 +8,11 @@ Load the plugins.
$ antigen-bundle $PLUGIN_DIR
Cloning into '*'... (glob)
done.
Checking connectivity... done
$ antigen-bundle $PLUGIN_DIR2
Cloning into '*'... (glob)
done.
Checking connectivity... done
Check the listing.
Expand Down
2 changes: 2 additions & 0 deletions tests/list.t
Expand Up @@ -9,6 +9,7 @@ Add a bundle.
$ antigen-bundle $PLUGIN_DIR
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
$ antigen-list
*/test-plugin / plugin true (glob)
Expand All @@ -23,6 +24,7 @@ Add another bundle.
$ antigen-bundle $PLUGIN_DIR2
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
$ antigen-list
*/test-plugin / plugin true (glob)
*/test-plugin2 / plugin true (glob)
1 change: 1 addition & 0 deletions tests/no_local_clone.t
Expand Up @@ -17,6 +17,7 @@ Load the plugin with a clone.
$ antigen-bundle $PLUGIN_DIR
Cloning into '*'... (glob)
done.
Checking connectivity... done

Empty the record.

Expand Down
1 change: 1 addition & 0 deletions tests/revert-update.t
Expand Up @@ -3,6 +3,7 @@ Load and test plugin.
$ antigen-bundle $PLUGIN_DIR
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
$ hehe
hehe

Expand Down
2 changes: 2 additions & 0 deletions tests/selfupdate.t
Expand Up @@ -23,6 +23,7 @@ Create a normal repository cloning from host
$ git clone $TEST_HOST $TEST_NORMAL
Cloning into * (glob)
done.
Checking connectivity... done

Create a submodule repository cloning from host

Expand All @@ -33,6 +34,7 @@ Create a submodule repository cloning from host
$ git submodule add $TEST_HOST antigen
Cloning into 'antigen'...
done.
Checking connectivity... done
$ git commit -m "1"
[master (root-commit) ???????] 1 (glob)
2 files changed, 4 insertions(+)
Expand Down
2 changes: 2 additions & 0 deletions tests/snapshots.t
Expand Up @@ -3,9 +3,11 @@ Load a couple of plugins.
$ antigen-bundle $PLUGIN_DIR
Cloning into '*'... (glob)
done.
Checking connectivity... done
$ antigen-bundle $PLUGIN_DIR2
Cloning into '*'... (glob)
done.
Checking connectivity... done

Create a snapshot file.

Expand Down
1 change: 1 addition & 0 deletions tests/theme.t
Expand Up @@ -3,5 +3,6 @@ Load the theme explicitly.
$ antigen-theme $PLUGIN_DIR silly
Cloning into '*'... (glob)
done.
Checking connectivity... done
$ echo "$PS1"
prompt>
1 change: 1 addition & 0 deletions tests/update.t
Expand Up @@ -3,6 +3,7 @@ Load plugin.
$ antigen-bundle $PLUGIN_DIR
Cloning into '.+?'\.\.\. (re)
done.
Checking connectivity... done
$ hehe
hehe

Expand Down

0 comments on commit dc2d37f

Please sign in to comment.