mirror of https://github.com/docker/cli.git
16 lines
351 B
Go
16 lines
351 B
Go
package system
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/docker/cli/cli/internal/test"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestPrunePromptPre131(t *testing.T) {
|
|
cli := test.NewFakeCli(&fakeClient{version: "1.30"})
|
|
cmd := newPruneCommand(cli)
|
|
assert.NoError(t, cmd.Execute())
|
|
assert.NotContains(t, cli.OutBuffer().String(), "all build cache")
|
|
}
|