1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-12 07:42:46 +03:00

add test to utils package

This commit is contained in:
Anthony HAMON
2018-08-19 08:51:37 +02:00
parent 81b07daa01
commit f91b4067f4
12 changed files with 3979 additions and 106 deletions

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 go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl -include-format-funcs