github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/engine/template_test.go (about) 1 // Copyright 2015 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 4 //go:build ignore 5 // +build ignore 6 7 // 8 // This is a test template for the Template engine. 9 10 package engine 11 12 import "testing" 13 14 func TestTemplate(t *testing.T) { 15 tc := SetupEngineTest(t, "template") 16 defer tc.Cleanup() 17 18 ctx := &Context{} 19 eng := NewTemplate(tc.G) 20 if err := RunEngine(eng, ctx); err != nil { 21 t.Fatal(err) 22 } 23 }