blob: 4174570e0735cdef7625afe8645cdd5ed1cd9f09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShouldFailToLoadBadTemplate(t *testing.T) {
assert.Panics(t, func() {
mustLoadTmplFS("bad tmpl")
})
}
|