initial commit
[govpp.git] / vendor / github.com / onsi / gomega / types / types.go
1 package types
2
3 type GomegaFailHandler func(message string, callerSkip ...int)
4
5 //A simple *testing.T interface wrapper
6 type GomegaTestingT interface {
7         Errorf(format string, args ...interface{})
8 }
9
10 //All Gomega matchers must implement the GomegaMatcher interface
11 //
12 //For details on writing custom matchers, check out: http://onsi.github.io/gomega/#adding_your_own_matchers
13 type GomegaMatcher interface {
14         Match(actual interface{}) (success bool, err error)
15         FailureMessage(actual interface{}) (message string)
16         NegatedFailureMessage(actual interface{}) (message string)
17 }