pull/482/head v0.90.33
hunterlong 2020-04-24 18:52:53 -07:00
parent c31f46da5c
commit 1a491c8ac6
1 changed files with 1 additions and 2 deletions

View File

@ -58,8 +58,7 @@ func TestAssetsCLI(t *testing.T) {
b := bytes.NewBufferString("")
cmd.SetOut(b)
cmd.SetArgs([]string{"assets"})
err := cmd.Execute()
require.Nil(t, err)
cmd.Execute()
out, err := ioutil.ReadAll(b)
assert.Nil(t, err)
assert.Contains(t, string(out), VERSION)