-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
- Build a debug version from the current master branch.
- Import Pester
PS> Import-Module -Name Pester -max 4.9.9
Expected behavior
Module is imported.Actual behavior
Debug assert:
defaultRefAssemblies was resized because of insufficient initial capacity! A capacity of 160 is required.
The default ref assemblies count is now 161, triggering the assert.Error details
Either the expected number of default ref assemblies needs to be adjusted, or better yet just remove the assert.Environment data
Name Value
---- -----
PSVersion 7.3.0-preview.3
PSEdition Core
GitCommitId 7.3.0-preview.3-120-ge7a4b7ddaa4634ea61e8acce8e2d491090aa965f
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals
PowerShell/src/Microsoft.PowerShell.Commands.Utility/commands/utility/AddType.cs
Line 703 in e7a4b7d
| Diagnostics.Assert( |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution-FixedThe issue is fixed.The issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module