diff --git a/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 b/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 index f5f9788cd02..597c75b7141 100644 --- a/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 +++ b/powershell/ql/test/library-tests/dataflow/pipeline/test.ps1 @@ -37,4 +37,14 @@ function consumeValueFromPipelineByPropertyNameWithoutProcess { } $x = Source "8" -[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyNameWithoutProcess \ No newline at end of file +[pscustomobject]@{x = $x} | consumeValueFromPipelineByPropertyNameWithoutProcess + +function consumeValueFromPipelineByPropertyNameWithProcess { + Param([Parameter(ValueFromPipelineByPropertyName)] $x) + + process { + Sink $x # $ MISSING: hasValueFlow=9 hasValueFlow=10 hasValueFlow=11 + } +} + +[pscustomobject]@{x = Source "9"}, [pscustomobject]@{x = Source "10"}, [pscustomobject]@{x = Source "11"} | consumeValueFromPipelineByPropertyNameWithProcess \ No newline at end of file