Skip to content

Fix check in break tests#5028

Open
lebe-g wants to merge 1 commit intotc39:mainfrom
lebe-g:fix
Open

Fix check in break tests#5028
lebe-g wants to merge 1 commit intotc39:mainfrom
lebe-g:fix

Conversation

@lebe-g
Copy link
Copy Markdown

@lebe-g lebe-g commented Apr 15, 2026

Change "&&" to "||" in the test condition of some break tests.

The reason is that violating one of the individual conditions would already indicate a bug.

Change "&&" to "||" in the test condition of some break tests.

The reason is that violating one of the individual conditions
would already indicate a bug.
@lebe-g lebe-g requested a review from a team as a code owner April 15, 2026 15:02
Copy link
Copy Markdown
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

Could we try to modernize these while we're here? e.g.

assert.sameValue(x, 2, '#1 - x');
assert.sameValue(y, 0, '#1 - y');

(obviously, if there are better assertion messages to be written that describe what failed, use those 😄)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants