func ExpectWithOffset(offset int, actual interface{}, extra ...interface{}) Assertion {
	if globalFailWrapper == nil {
		panic(nilFailHandlerPanic)
	}
	return assertion.New(actual, globalFailWrapper, offset, extra...)
}
func ExpectWithOffset(offset int, actual interface{}, extra ...interface{}) Assertion {
	if globalFailWrapper == nil {
		panic(nilFailHandlerPanic)
	}
	return assertion.New(actual, globalFailWrapper, offset, extra...)
}
func ExpectWithOffset ( offset int , actual interface { } , extra ... interface { } ) Assertion { if globalFailWrapper == nil { panic ( nilFailHandlerPanic ) } return assertion . New ( actual , globalFailWrapper , offset , extra ... ) }
// ExpectWithOffset wraps an actual value allowing assertions to be made on it:
//    ExpectWithOffset(1, "foo").To(Equal("foo"))
//
// Unlike `Expect` and `Ω`, `ExpectWithOffset` takes an additional integer argument
// this is used to modify the call-stack offset when computing line numbers.
//
// This is most useful in helper functions that make assertions.  If you want Gomega's
// error message to refer to the calling line in the test (as opposed to the line in the helper function)
// set the first argument of `ExpectWithOffset` appropriately.
ExpectWithOffset wraps an actual value allowing assertions to be made on it : ExpectWithOffset ( 1 foo ) . To ( Equal ( foo )) Unlike Expect and Ω ExpectWithOffset takes an additional integer argument this is used to modify the call - stack offset when computing line numbers . This is most useful in helper functions that make assertions . If you want Gomega s error message to refer to the calling line in the test ( as opposed to the line in the helper function ) set the first argument of ExpectWithOffset appropriately .