Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
fix test break due to existing dir
Browse files Browse the repository at this point in the history
fix test break due to existing dir error which is a change in behavior
introduced in previous commit
  • Loading branch information
pavanka committed Dec 3, 2015
1 parent 9bb1ece commit c25e4cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions new_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ func TestGetCloudCodeDir(t *testing.T) {
h.Out.Reset()
h.Env.In = ioutil.NopCloser(strings.NewReader("\n"))
name, err = n.getCloudCodeDir(h.Env, "myapp", false)
ensure.Nil(t, err)
ensure.StringContains(t, h.Out.String(), "folder where we can download the latest")
ensure.Err(t, err, regexp.MustCompile("a directory named: \"myapp\" already exists"))
}

func TestNewCmdDirs(t *testing.T) {
Expand Down

0 comments on commit c25e4cc

Please sign in to comment.