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

Commit 051e530

Browse files
committed
match substring of output in configure cmd test
1 parent 6b38fdf commit 051e530

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure_cmd_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ func TestConfigureAccountKey(t *testing.T) {
2020

2121
h.env.In = ioutil.NopCloser(strings.NewReader("token\n"))
2222
ensure.Nil(t, c.accountKey(h.env))
23-
ensure.DeepEqual(
23+
ensure.StringContains(
2424
t,
2525
h.Out.String(),
2626
`
2727
Input your account key or press enter to generate a new one.
28-
Account Key: Successfully stored account key for: "email".
2928
`)
3029

3130
h.env.In = ioutil.NopCloser(strings.NewReader("invalid\n"))

0 commit comments

Comments
 (0)