Skip to content

Conversation

@jorgsowa
Copy link
Contributor

Added more detailed descriptions to test iterations so it’s clear what the input is for each iteration. Additionally, I added a new test cases for an arrays containing references and enums.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

I'd rather split this test into multiple ones because trying to verify that 200 iterations of a foreach is corret is just unreasonable.

@jorgsowa jorgsowa force-pushed the test/improve-tests-for-in_array branch from a7dd7b0 to c64920f Compare January 30, 2026 16:26
@jorgsowa
Copy link
Contributor Author

Is splitting reference-value data into a separate test appropriate?

I added descriptions to each iteration to make the test results easier to review.
Additionally, I added an enum/object test cases, as it was missing before. I can

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