template-nest-go/tests/00_basic_test.go

16 lines
282 B
Go
Raw Normal View History

2024-11-16 04:13:48 +00:00
package tests
import (
"git.virtual.blue/tomgracey/template-nest-go"
"testing"
)
func TestInitialize(t *testing.T) {
_, err := templatenest.New(templatenest.Option{
TemplateDir: "templates",
})
if err != nil {
t.Fatalf("Failed to initialize TemplateNest: %+v", err)
}
}