PS: Add test with missing flow.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-10-15 15:43:39 +01:00
parent a16b51a0bb
commit 1dcd3180b1

View File

@@ -28,4 +28,13 @@ function consume2 {
$x = Source "21"
$y = Source "22"
$x, $y | consume2
$x, $y | consume2
function consumeValueFromPipelineByPropertyName {
Param([Parameter(ValueFromPipelineByPropertyName)] $x)
Sink $x # $ MISSING: hasValueFlow=23
}
$x = Source "23"
[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyName