diff options
Diffstat (limited to 'alv-lib/testing.moon')
| -rw-r--r-- | alv-lib/testing.moon | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alv-lib/testing.moon b/alv-lib/testing.moon index 7abe9f6..d967232 100644 --- a/alv-lib/testing.moon +++ b/alv-lib/testing.moon @@ -24,8 +24,7 @@ By default, the message contains the failing check expression." tick: => { :check, :msg } = @unwrap_all! - if not check - error Error 'assertion', msg or "assertion failed" + assert check, Error 'assertion', msg or "assertion failed" eval: (scope, tail) => L\trace "evaling #{@}" |
