Skip to content

Add more string edge case tests#632

Merged
lukewagner merged 2 commits intoWebAssembly:mainfrom
friendlymatthew:friendlymatthew/more-string-coverage
Apr 6, 2026
Merged

Add more string edge case tests#632
lukewagner merged 2 commits intoWebAssembly:mainfrom
friendlymatthew:friendlymatthew/more-string-coverage

Conversation

@friendlymatthew
Copy link
Copy Markdown
Contributor

Hi, I was browsing through the test suite and noticed a comment in strings.wast about more coverage

;; TODO: so many cases left to test, everyone feel free to fill in...

I wasn't sure if it was referring to more encoding variations or general coverage, but the file only had 3 assertions so I added a few edge cases for string lifting

I validated this against my own component model implementation

@friendlymatthew friendlymatthew force-pushed the friendlymatthew/more-string-coverage branch from ce604a9 to adfc5bf Compare April 3, 2026 00:10
Copy link
Copy Markdown
Member

@lukewagner lukewagner left a comment

Choose a reason for hiding this comment

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

Thanks, these look great!

@lukewagner lukewagner merged commit 099bc80 into WebAssembly:main Apr 6, 2026
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