Skip to content

Commit 6bb859d

Browse files
committed
PS: Accept test changes.
1 parent 9278f03 commit 6bb859d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

powershell/ql/test/library-tests/dataflow/params/global.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ param([string]$Source1, [string]$Source2, [string]$Source3, [string]$Source4)
33
Sink $Source1 # $ hasValueFlow=1
44
Sink $Source2 # $ hasValueFlow=2
55
Sink $Source3 # $ hasValueFlow=3
6-
Sink $Source4 # $ MISSING: hasValueFlow=4
6+
Sink $Source4 # $ hasValueFlow=4

powershell/ql/test/library-tests/dataflow/params/test.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ edges
33
| global.ps1:1:7:1:23 | Source1 | global.ps1:3:6:3:14 | Source1 | provenance | |
44
| global.ps1:1:25:1:41 | Source2 | global.ps1:4:6:4:14 | Source2 | provenance | |
55
| global.ps1:1:43:1:59 | Source3 | global.ps1:5:6:5:14 | Source3 | provenance | |
6+
| global.ps1:1:61:1:77 | Source4 | global.ps1:6:6:6:14 | Source4 | provenance | |
67
| test.ps1:1:14:1:16 | a | test.ps1:2:10:2:12 | a | provenance | |
78
| test.ps1:5:6:5:16 | Source | test.ps1:6:5:6:7 | x | provenance | |
89
| test.ps1:6:5:6:7 | x | test.ps1:1:14:1:16 | a | provenance | |
@@ -145,9 +146,11 @@ nodes
145146
| global.ps1:1:7:1:23 | Source1 | semmle.label | Source1 |
146147
| global.ps1:1:25:1:41 | Source2 | semmle.label | Source2 |
147148
| global.ps1:1:43:1:59 | Source3 | semmle.label | Source3 |
149+
| global.ps1:1:61:1:77 | Source4 | semmle.label | Source4 |
148150
| global.ps1:3:6:3:14 | Source1 | semmle.label | Source1 |
149151
| global.ps1:4:6:4:14 | Source2 | semmle.label | Source2 |
150152
| global.ps1:5:6:5:14 | Source3 | semmle.label | Source3 |
153+
| global.ps1:6:6:6:14 | Source4 | semmle.label | Source4 |
151154
| test.ps1:1:14:1:16 | a | semmle.label | a |
152155
| test.ps1:2:10:2:12 | a | semmle.label | a |
153156
| test.ps1:5:6:5:16 | Source | semmle.label | Source |
@@ -233,6 +236,7 @@ testFailures
233236
| global.ps1:3:6:3:14 | Source1 | global.ps1:1:7:1:23 | Source1 | global.ps1:3:6:3:14 | Source1 | $@ | global.ps1:1:7:1:23 | Source1 | Source1 |
234237
| global.ps1:4:6:4:14 | Source2 | global.ps1:1:25:1:41 | Source2 | global.ps1:4:6:4:14 | Source2 | $@ | global.ps1:1:25:1:41 | Source2 | Source2 |
235238
| global.ps1:5:6:5:14 | Source3 | global.ps1:1:43:1:59 | Source3 | global.ps1:5:6:5:14 | Source3 | $@ | global.ps1:1:43:1:59 | Source3 | Source3 |
239+
| global.ps1:6:6:6:14 | Source4 | global.ps1:1:61:1:77 | Source4 | global.ps1:6:6:6:14 | Source4 | $@ | global.ps1:1:61:1:77 | Source4 | Source4 |
236240
| test.ps1:2:10:2:12 | a | test.ps1:5:6:5:16 | Source | test.ps1:2:10:2:12 | a | $@ | test.ps1:5:6:5:16 | Source | Source |
237241
| test.ps1:9:10:9:12 | x | test.ps1:14:10:14:20 | Source | test.ps1:9:10:9:12 | x | $@ | test.ps1:14:10:14:20 | Source | Source |
238242
| test.ps1:10:10:10:12 | y | test.ps1:15:11:15:21 | Source | test.ps1:10:10:10:12 | y | $@ | test.ps1:15:11:15:21 | Source | Source |

0 commit comments

Comments
 (0)