Leigh McCulloch
7c5ac23b81
Make _codegen its own module so that its dependencies do not pollute the root modules dependency graph
2019-12-09 10:12:49 -07:00
Ernesto Jiménez
c7668ea997
Fixes #339 - Add `assertion`f assertions like Errorf and Equalf
2017-05-29 12:56:43 +01:00
Ernesto Jiménez
efd1b850c1
First version of code generation
2015-11-05 23:08:36 +00:00
Julian Cooper
930ea90dbd
Added assertion/requirement that checks if two JSON strings represent equivalent objects
2015-09-23 10:34:52 -07:00
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 #154
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 #120 .
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 #73 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