compose/context/store/storedefault_test.go
Djordje Lukic 8495500aa2 Add a CliSuite for cli unit tests
Makes writing unit tests for commands quite easier
2020-05-22 10:13:56 +02:00

14 lines
209 B
Go

package store
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestDefaultContext(t *testing.T) {
s, err := dockerDefaultContext()
assert.Nil(t, err)
assert.Equal(t, "default", s.Name)
}