Module test_utils

Source

Functionsยง

test_eval_err
Tests that evaluating a given piece of Mechylang code results in specific errors.
test_eval_ok
Runs the passed in Mechylang code and panics if it fails. If code fails to run, the error is printed to stdout.
test_parse_ok
Parses the given Mechylang code and asserts that it is valid.