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

Rename assert_uncaught_exception to assert_exception #324

Merged
merged 1 commit into from
Aug 21, 2021

Conversation

takikawa
Copy link
Contributor

@takikawa takikawa commented Aug 21, 2021

The assert_uncaught_exception assertion used for exception handling was renamed to assert_exception in the final version of

WebAssembly/exception-handling#160

but was out-of-date in the wast crate. This PR does the renaming.

(example of the current assertion syntax used in tests here: https://github.com/WebAssembly/exception-handling/blob/master/test/core/try_catch.wast#L157)

Note: the upstream "testsuite" repo isn't updated for exceptions yet, but I tested it by updating it locally. There are some differences in error messages vs. expected messages (will try to fix these sometime), but otherwise it looks pretty good after this change.

The assert_uncaught_exception assertion used for exception handling
was renamed to assert_exception in the final version of

  WebAssembly/exception-handling#160

but was out-of-date in the wast crate.
@alexcrichton alexcrichton merged commit 9b219d5 into bytecodealliance:main Aug 21, 2021
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.

2 participants