Changes for version 2.1.0 - 2022-08-15
- ENHANCEMENTS
- Add diagnostic strings to the failures. For example:
- assert_nonblank( [ 'foo' ], 'This should be nonblank' );
- would fail with:
- Assertion (This should be nonblank) failed!
- but now fails with:
- Assertion (This should be nonblank) failed! Value is a reference to ARRAY.
- Similar changes have been made to:
- assert_all_keys_in
- assert_keys_are
- assert_empty
- assert_nonempty
- Add diagnostic strings to the failures. For example:
Modules
Convenience assertions for common situations