1
0
mirror of https://github.com/stretchr/testify.git synced 2025-04-27 13:13:19 +00:00

12 Commits

Author SHA1 Message Date
Will Faught
8512261d41 Add Zero and NotZero assertions and requirements
Zero returns true if the value equals the value's type's zero value.

NotZero returns the opposite of Zero.
2015-08-24 15:53:36 -07:00
Mat Ryer
e22aedd376 Tweaks and improvements - Fixes 2015-04-20 11:19:11 +01:00
Justin Cummins
d5621338a3 Forwards EqualValues assertion 2015-02-18 14:08:46 -08:00
Samuel Nelson
ff9ded0d23 Fixed regexp messages. Resolves . 2015-01-19 12:45:07 -07:00
Victor Kryukov
b64f0d0b59 Implement Regexp and NotRegexp 2014-09-13 13:13:42 -06:00
Tyler
15dabc1a45 Merge pull request from comogo/includes
Allow Contains and NotContains to check slices and arrays
2014-09-09 20:31:58 -06:00
Victor Kryukov
5461242ffd Increase assert test coverage from 86.6% to 97.1%, fixed bugs.
Extend tests for NotEqual, Len and add tests for Condition, InEpsilon.
Add tests for Assertion.Condition, Assertion.InEpsilon, Assertion.InDelta
Fix a bug for Assertion.InDelta, Assertion.InEpsilon having incorrect signature.
2014-08-28 12:56:51 -07:00
Mateus Lorandi dos Santos
ab1fdba54e Allow Contains and NotContains to check slices and arrays 2014-08-21 11:13:02 -03:00
OMOTO Kenji
e787d6aa9d Add Len() 2014-07-17 18:39:50 +09:00
bhenderson
0241e55b78 Add to forward_assertions and fix docs. 2014-07-10 09:31:54 -07:00
2pi
8515a19013 add wrapper around the EqualError function
* add a `*Assertions` wrapper around the `EqualError` function
* add tests
2014-07-01 13:29:33 +02:00
taichi
e8eaa8ab7a add better API.
because current API is redundant because the pass every time testingT.
2014-03-11 16:38:25 +09:00