Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
added test for repos with no sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 4, 2017
1 parent e6e504d commit 8f8cf1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bundle/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ func TestZshInvalidLocalBundle(t *testing.T) {
assert.Error(err)
}

func TestZshBundleWithNoShFiles(t *testing.T) {
assert := assert.New(t)
home := home()
_, err := bundle.New(home, "getantibody/antibody").Get()
assert.NoError(err)
}

func TestPathInvalidLocalBundle(t *testing.T) {
assert := assert.New(t)
home := home()
Expand Down

0 comments on commit 8f8cf1b

Please sign in to comment.