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

[test] Add tests checking that multiple sections aren't supported #1773

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

dzfrias
Copy link
Contributor

@dzfrias dzfrias commented Aug 2, 2024

Only the start section had a test assuring its uniqueness. Cases in which there were two or more of the other sections weren't failing when implementing LibWasm for the Ladybird browser.

I'm not sure if these test cases are totally needed, but LibWasm's Module type used to have an interesting way to represent sections, and these cases slipped through... so feel free to close this PR if it's deemed unnecessary.

Only the start section had a test assuring its uniqueness. Cases in
which there were two or more of the other sections weren't failing when
implementing LibWasm for the Ladybird browser.
Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely good to have these tests, thanks!

@rossberg rossberg merged commit 8ea273d into WebAssembly:main Aug 2, 2024
1 check passed
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