Skip to content

Commit

Permalink
param pipeline example
Browse files Browse the repository at this point in the history
  • Loading branch information
ninmonkey committed Dec 28, 2023
1 parent 2d69139 commit d7ccc7d
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ Describe 'ParameterBindingDoesNotThrow' {
it 'x | CollectList' {
{ 'a'..'e' | CollectList } | Should -Not -Throw
}
it 'CollectList -Inp x -Name Arg' {
{ CollectList -Inp ('a'..'e') -Label 'Arg' } | Should -Not -Throw
}
it 'CollectList -Inp x Arg' {
{ CollectList -Inp ('a'..'e') 'Arg' } | Should -Not -Throw
}
it 'CollectList -Inp x' {
{ CollectList -Inp ('a'..'e') } | Should -Not -Throw
}

# it 'stuff' -ForEach @(
# # $gci = Gci . |select -first 2| CollectList
Expand Down

0 comments on commit d7ccc7d

Please sign in to comment.