mirror of https://github.com/statping/statping
parent
c31f46da5c
commit
1a491c8ac6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue