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

Made JS Expected output comments consistent with actual output #2879

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

atg
Copy link

@atg atg commented Dec 14, 2024

Description

Fix a few // Expected output: ... comments in JS examples. In some cases these comments weren't consistent with what JS engines output, in other cases, the formatting was inconsistent with how the interactive example console formats things.

Note that for currency formatting (e.g. bigint-tolocalestring.js), JS engines produce a non-breaking space U+00A0 instead of an ASCII space U+0032.

@atg atg requested a review from a team as a code owner December 14, 2024 01:30
@atg atg requested review from Josh-Cena and removed request for a team December 14, 2024 01:30
@Josh-Cena
Copy link
Member

Our CI does not like irregular whitespace. And it's fine to use regular spaces here; the goal is not to compare the output character by character. Could you revert those space changes and possibly add some text like (Note: the space may be a non-breaking space)?

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