Add tests for cache internal pkg

This commit is contained in:
Mathieu HANOTAUX
2022-12-04 16:30:27 +01:00
parent 76e5c7497d
commit 15baee5c07
45 changed files with 19670 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package assert
// Assertions provides assertion methods around the
// TestingT interface.
type Assertions struct {
t TestingT
}
// New makes a new Assertions object for the specified TestingT.
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
//go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=assert -template=assertion_forward.go.tmpl -include-format-funcs"