Skip to content

Commit

Permalink
test: Update tests to work with OClosures
Browse files Browse the repository at this point in the history
When `buttercup--wrap-expr' uses `buttercup-thunk' OClosures, it
actually returns a form that has to be `eval'ed to get a
`buttercup-thunk'.
This is not an issue when `buttercup--wrap-expr' is used in the
`expect' macro, because the expansion of `expect' will be read/eval:ed
anyway.
But in the tests the return will sometimes have to be explicitly
evaled before it's processed by other functions.
  • Loading branch information
snogge committed Feb 22, 2024
1 parent 7a22c7a commit 6167996
Showing 1 changed file with 88 additions and 76 deletions.
Loading

0 comments on commit 6167996

Please sign in to comment.