ThatInteger returns an OnInteger for integer based assertions.
(value int)
| 23 | |
| 24 | // ThatInteger returns an OnInteger for integer based assertions. |
| 25 | func (a Assertion) ThatInteger(value int) OnInteger { |
| 26 | return OnInteger{Assertion: a, value: value} |
| 27 | } |
| 28 | |
| 29 | // Equals asserts that the supplied integer is equal to the expected integer. |
| 30 | func (o OnInteger) Equals(expect int) bool { |
no outgoing calls