Skip to content
This repository was archived by the owner on Sep 3, 2023. It is now read-only.
This repository was archived by the owner on Sep 3, 2023. It is now read-only.

bottom example in the readme doesn't work #6

@jszabo98

Description

@jszabo98
Merge-Object @{a = @{b = 1}} @{a = @{c = 2}} -Strategy Fail
Merge-Object : A positional parameter cannot be found that accepts argument 'System.Collections.Hashtable'.
At line:1 char:1
+ Merge-Object @{a = @{b = 1}} @{a = @{c = 2}} -Strategy Fail
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Merge-Object], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Merge-Object

I found reading the pester tests helpful.

How would you do compare-object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions