Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
schungx committed May 11, 2024
1 parent 7b3a8b1 commit cc25d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/custom_syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ fn test_custom_syntax_func() {

assert_eq!(engine.eval::<INT>("call(hello |x| { x + 1 }, 41)").unwrap(), 42);
assert_eq!(engine.eval::<INT>("call(hello { 42 })").unwrap(), 42);

#[cfg(not(feature = "no_closure"))]
assert_eq!(
engine
.eval::<INT>(
Expand Down

0 comments on commit cc25d83

Please sign in to comment.