app/types/init_test.go

14 строки
236 B
Go

package types
import (
"testing"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
)
func TestNewInitialComposeFile(t *testing.T) {
f := NewInitialComposeFile()
assert.Check(t, is.Equal(f.Version, defaultComposefileVersion))
}