Skip to content

transpile: Add snapshot tests for wide strings#1631

Merged
kkysen merged 1 commit intoimmunant:masterfrom
Rua:wchar-test
Mar 3, 2026
Merged

transpile: Add snapshot tests for wide strings#1631
kkysen merged 1 commit intoimmunant:masterfrom
Rua:wchar-test

Conversation

@Rua
Copy link
Contributor

@Rua Rua commented Mar 3, 2026

The test is os-specific, because the size of wchar_t is 2 rather than 4 on Windows. There are no Windows tests (yet) but this way it's prepared for that eventuality. And also makes it clear that portably translating wide strings is still a TODO.

EDIT: Actually it appears that even Linux and MacOS differ here? Hmm...

@Rua Rua force-pushed the wchar-test branch 2 times, most recently from 422af07 to 3481632 Compare March 3, 2026 13:44
Copy link
Contributor

@kkysen kkysen left a comment

Choose a reason for hiding this comment

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

EDIT: Actually it appears that even Linux and MacOS differ here? Hmm...

A bunch of the type alias names are different. It's annoying.

@kkysen kkysen merged commit 5cc49d1 into immunant:master Mar 3, 2026
11 checks 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