Documentation ¶
Overview ¶
Package stenciltest contains code for testing templates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template is a template that is being tested by the stenciltest framework.
func (*Template) ErrorContains ¶
ErrorContains denotes that this test run should fail, and the message should contain the provided string.
t.ErrorContains("i am an error")
Click to show internal directories.
Click to hide internal directories.