Files
PandeyandGitHub 16cadb1fc9 feat: introduce go types and go templating (#16)
#### Features

- introduce concrete go types
- introduce go templating
2026-01-12 22:30:20 +05:30

17 lines
319 B
Go

package dockercomposecasting
import (
"bytes"
"testing"
"github.com/stretchr/testify/assert"
)
func TestNotEmptyAndValid(t *testing.T) {
assert.NotEmpty(t, composeYAMLTemplate)
buf := bytes.NewBuffer(nil)
err := composeYAMLTemplate.Execute(buf, nil)
assert.NoError(t, err)
assert.NotEmpty(t, buf.String())
}