Test
package
- Assertions functions in the
Test
package can now pretty-print values on failures.
Test code:
Check = \() none | error {
Assert'Equal(42, none)
}
Output:
foo.test.pen
FAIL Check
Message: values are not equal (found: 42) (expected: none)
summary
FAIL 0 passed, 1 failed