A nim
package which wraps doAssert
so it prints nicer errors.
I like doAssert
, but I sure wish it was easier to read.
nimble install https://github.com/skellock/crappyassert
import crappyassert
true === false # calls `doAssert true == false`
- custom operators suck?
- nobody likes more dependencies?
- you don't use
doAssert
- you use anything other than
==
when callingdoAssert
0.1.0
- Jan 22, 2019
- Initial release
- Nim 0.19.2+
nimble install https://github.com/skellock/crappyassert#head
( NOTE: I haven't submitted this to nimble
just yet. )
MIT
Fork it. Pull it. Patch it. Push it.
Send a PR, that should do it.