Add more tests for `PSForEach` and `PSWhere` methods by daxian-dbw · Pull Request #25519 · PowerShell/PowerShell

Conversation

@daxian-dbw

Summary

This is a follow-up of the PR #25511 to add more tests for PSForEach and PSWhere methods.
The intrinsic methods are handled in 3 places in the binder to cover 3 scenarios. A few more tests are added to cover all those scenarios.

@daxian-dbw daxian-dbw added the CL-Test

Indicates that a PR should be marked as a test change in the Change Log

label

May 6, 2025

iSazonov

Choose a reason for hiding this comment

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

LGTM with one minor comment.

@daxian-dbw

@microsoft-github-policy-service

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request

Dec 12, 2025

Labels

CL-Test

Indicates that a PR should be marked as a test change in the Change Log

2 participants

@daxian-dbw @iSazonov