Skip to content

Commit bd90435

Browse files
committed
PS: Add test with missing remote flow source.
1 parent 2a26c43 commit bd90435

File tree

1 file changed

+3
-0
lines changed
  • powershell/ql/test/library-tests/frameworks/system_net_sockets

1 file changed

+3
-0
lines changed

powershell/ql/test/library-tests/frameworks/system_net_sockets/test.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ $remoteEndpoint2 = $null
1515
$data2 = $udpClient.Receive([ref]$remoteEndpoint2) # $ type="remote flow source"
1616

1717
$receiveTask = $udpClient.ReceiveAsync() # $ type="remote flow source"
18+
19+
$webclient = [System.Net.WebClient]::new()
20+
$data = $webclient.DownloadData("https://example.com/data.txt") # $ MISSING: type="remote flow source"

0 commit comments

Comments
 (0)