diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-18 11:59:05 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-18 11:59:05 +0200 |
| commit | bca035172c463e6ac4aaf2591d7d4af2da51c522 (patch) | |
| tree | d17ba4c0208caab1d30f6f2d19821cbd203e37fa /tests/typeset.rs | |
| parent | 8b6391040e3fb2ab5f739e26f88621d63ad5d3cc (diff) | |
Join semantics
Diffstat (limited to 'tests/typeset.rs')
| -rw-r--r-- | tests/typeset.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/typeset.rs b/tests/typeset.rs index 42151ac6..f4e74bc1 100644 --- a/tests/typeset.rs +++ b/tests/typeset.rs @@ -327,10 +327,8 @@ fn register_helpers(scope: &mut Scope, panics: Rc<RefCell<Vec<Panic>>>) { let rhs = args.expect::<Value>(ctx, "right-hand side"); if lhs != rhs { panics.borrow_mut().push(Panic { pos: args.span.start, lhs, rhs }); - Value::Str(format!("(panic)")) - } else { - Value::None } + Value::None }; scope.def_const("error", Value::Error); |
