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

[js-api] Re-add old tests to test/js-api/exception #315

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jun 21, 2024

These two tests used to be in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception and were moved into
https://github.com/WebAssembly/exception-handling/tree/main/test/legacy/exceptions/js-api in #305.

I'm planning new version of these tests that use try_table and throw_ref in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception, but it wouldn't require to rewrite the whole tests, but copying these tests into the this directory and modify them in a single PR makes Github think these are brand-new files, resulting in a large diff containing the whole files that is difficult to review (and which has been reviewed and in the repo for a long time already).

So I'm making a PR that only re-adds these file here so that I can add changes to these files in another PR.

These two tests used to be in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception
and were moved into
https://github.com/WebAssembly/exception-handling/tree/main/test/legacy/exceptions/js-api
in #305.

I'm planning new version of these tests that use `try_table` and
`throw_ref` in
https://github.com/WebAssembly/exception-handling/tree/main/test/js-api/exception,
but it wouldn't require to rewrite the whole tests, but copying these
tests into the this directory and modify them in a single PR makes
Github think these are brand-new files, resulting in a large diff
containing the whole files that is difficult to review (and which has
been reviewed and in the repo for a long time already).

So I'm making a PR that only re-adds these file here so that I can add
changes to these files in another PR.
@aheejin aheejin requested a review from dschuff June 21, 2024 23:13
@aheejin aheejin merged commit e2c8d90 into main Jun 25, 2024
1 check passed
@aheejin aheejin deleted the restore_old_tests branch June 25, 2024 03:57
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.

None yet

3 participants