16 lines
282 B
Go
16 lines
282 B
Go
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)
|
|
}
|
|
}
|