Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Parameter binding tests #8

Description

@mattmcnabb

in the file Scripting/LanguageandParser/ParameterBinding.Tests.ps1 you haven't put your assertions inside It blocks. This results in tests that don't actually fail, but you also don't have any useful output.

Invoke-ScriptFunctionTakesObject | Should Be 42
Invoke-ScriptFunctionTakesUInt64 | Should Be 42
Invoke-CSharpCmdletTakesObject | Should Be "passed in null"
Invoke-CSharpCmdletTakesUInt64 | Should Be 0
Invoke-ScriptFunctionTakesObject -Address $null | Should Be 42
Invoke-ScriptFunctionTakesUInt64 -Address $null | Should Be 42
Invoke-CSharpCmdletTakesObject -Address $null | Should Be 42
Invoke-CSharpCmdletTakesUInt64 -Address $null | Should Be 42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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