You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 line
267B

  1. package template_test
  2. import (
  3. "testing"
  4. "git.wtrh.nl/patterns/gopatterns/pkg/pattern/template"
  5. "github.com/stretchr/testify/require"
  6. )
  7. func TestRenderPattern(t *testing.T) {
  8. t.Parallel()
  9. require.NoError(t, template.RenderPattern("fixtures/trouser.yaml"))
  10. }