authelia/cmd/authelia-gen/templates_test.go

14 lines
191 B
Go
Raw Permalink Normal View History

package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShouldFailToLoadBadTemplate(t *testing.T) {
assert.Panics(t, func() {
mustLoadTmplFS("bad tmpl")
})
}