Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unwind-protect to ensure action chain is inactive afterwards #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterpaul
Copy link

The step "When I execute the action chain" does not ensure the action chain is inactive afterwards when a non-local exit (error or throw) happens during execution of the action chain.

This pull-request should fix that.

I'm not yet familiar with writing ert-tests, if you think this should be explicitely tested, please help me construct the testcase.

@peterpaul
Copy link
Author

I could not find out how to write a unit test for this without adjusting el-mock. I've created a pull-request there (rejeep/el-mock.el#26), to support providing a lambda for a stub.

After there is any progress on that pull-request I can decide how to continue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant