Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Default reference assembly count is incorrect, causing debug assert #17384

Copy link
Copy link
@PaulHigin

Description

@PaulHigin
Issue body actions

Prerequisites

Steps to reproduce

  1. Build a debug version from the current master branch.
  2. 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.0

Visuals

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.