Oleksandr Redko
d57bac8721
refactor: use %q to simplify fmt.Sprintf
2024-11-24 18:28:03 +02:00
Alun Evans
6990a05d54
Add ErrorContains
2021-01-16 12:32:05 +11:00
Ivo van der Wijk
ac1463f956
Implement NotEqualValues
2020-05-27 08:39:56 +10:00
Daniel Cormier
85f2b59c44
Add panic stack to output from NotPanics assertion failures
2019-09-04 10:35:30 -06:00
Nobuhiro MIKI
0224ef258e
Add YAMLEq to assert that two YAML strings are equivalent
2019-07-11 17:50:32 -06:00
Julian Cooper
7f6cb13c5c
split JSONEq tests into individual assertions from one monolithic test
2015-10-13 13:36:47 -07: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
Tyler Bunnell
4f9c9aeeaa
Don't handle func comparisons
2015-04-16 11:41:42 -06:00
Justin Cummins
d5621338a3
Forwards EqualValues assertion
2015-02-18 14:08:46 -08: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
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