Fix `Import-Module.Tests.ps1` to handle Arm32 platform by daxian-dbw · Pull Request #26862 · PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Conversation
Copilot AI review requested due to automatic review settings
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a test failure in Import-Module.Tests.ps1 that occurred when running on Arm32 platforms. The test was missing a case to handle the 32-bit ARM architecture in the processor architecture switch statement, causing it to throw an "Unknown processor architecture" error.
Changes:
- Added support for the 'Arm' (32-bit ARM) processor architecture in the ProcessorArchitecture test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters