Skip to content

Commit 1527479

Browse files
committed
PS: Accept test changes.
1 parent a6b2563 commit 1527479

File tree

2 files changed

+38
-4
lines changed

2 files changed

+38
-4
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,40 @@
11
models
22
edges
3+
| test.ps1:2:5:2:15 | Source | test.ps1:5:6:5:20 | callSourceOnce | provenance | |
4+
| test.ps1:5:6:5:20 | callSourceOnce | test.ps1:6:6:6:8 | x | provenance | |
5+
| test.ps1:9:5:9:15 | Source | test.ps1:13:6:13:21 | callSourceTwice | provenance | |
6+
| test.ps1:10:5:10:15 | Source | test.ps1:13:6:13:21 | callSourceTwice | provenance | |
7+
| test.ps1:13:6:13:21 | callSourceTwice | test.ps1:14:6:14:8 | x | provenance | |
8+
| test.ps1:17:12:17:22 | Source | test.ps1:20:6:20:19 | returnSource1 | provenance | |
9+
| test.ps1:20:6:20:19 | returnSource1 | test.ps1:21:6:21:8 | x | provenance | |
10+
| test.ps1:24:10:24:20 | Source | test.ps1:25:5:25:7 | x | provenance | |
11+
| test.ps1:25:5:25:7 | x | test.ps1:30:6:30:19 | returnSource2 | provenance | |
12+
| test.ps1:26:10:26:20 | Source | test.ps1:27:12:27:14 | y | provenance | |
13+
| test.ps1:27:12:27:14 | y | test.ps1:30:6:30:19 | returnSource2 | provenance | |
14+
| test.ps1:30:6:30:19 | returnSource2 | test.ps1:31:6:31:8 | x | provenance | |
315
nodes
16+
| test.ps1:2:5:2:15 | Source | semmle.label | Source |
17+
| test.ps1:5:6:5:20 | callSourceOnce | semmle.label | callSourceOnce |
18+
| test.ps1:6:6:6:8 | x | semmle.label | x |
19+
| test.ps1:9:5:9:15 | Source | semmle.label | Source |
20+
| test.ps1:10:5:10:15 | Source | semmle.label | Source |
21+
| test.ps1:13:6:13:21 | callSourceTwice | semmle.label | callSourceTwice |
22+
| test.ps1:14:6:14:8 | x | semmle.label | x |
23+
| test.ps1:17:12:17:22 | Source | semmle.label | Source |
24+
| test.ps1:20:6:20:19 | returnSource1 | semmle.label | returnSource1 |
25+
| test.ps1:21:6:21:8 | x | semmle.label | x |
26+
| test.ps1:24:10:24:20 | Source | semmle.label | Source |
27+
| test.ps1:25:5:25:7 | x | semmle.label | x |
28+
| test.ps1:26:10:26:20 | Source | semmle.label | Source |
29+
| test.ps1:27:12:27:14 | y | semmle.label | y |
30+
| test.ps1:30:6:30:19 | returnSource2 | semmle.label | returnSource2 |
31+
| test.ps1:31:6:31:8 | x | semmle.label | x |
432
subpaths
533
testFailures
634
#select
35+
| test.ps1:6:6:6:8 | x | test.ps1:2:5:2:15 | Source | test.ps1:6:6:6:8 | x | $@ | test.ps1:2:5:2:15 | Source | Source |
36+
| test.ps1:14:6:14:8 | x | test.ps1:9:5:9:15 | Source | test.ps1:14:6:14:8 | x | $@ | test.ps1:9:5:9:15 | Source | Source |
37+
| test.ps1:14:6:14:8 | x | test.ps1:10:5:10:15 | Source | test.ps1:14:6:14:8 | x | $@ | test.ps1:10:5:10:15 | Source | Source |
38+
| test.ps1:21:6:21:8 | x | test.ps1:17:12:17:22 | Source | test.ps1:21:6:21:8 | x | $@ | test.ps1:17:12:17:22 | Source | Source |
39+
| test.ps1:31:6:31:8 | x | test.ps1:24:10:24:20 | Source | test.ps1:31:6:31:8 | x | $@ | test.ps1:24:10:24:20 | Source | Source |
40+
| test.ps1:31:6:31:8 | x | test.ps1:26:10:26:20 | Source | test.ps1:31:6:31:8 | x | $@ | test.ps1:26:10:26:20 | Source | Source |

powershell/ql/test/library-tests/dataflow/returns/test.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ function callSourceOnce {
33
}
44

55
$x = callSourceOnce
6-
Sink $x # $ MISSING: hasValueFlow=1
6+
Sink $x # $ hasValueFlow=1
77

88
function callSourceTwice {
99
Source "2"
1010
Source "3"
1111
}
1212

1313
$x = callSourceTwice
14-
Sink $x # $ MISSING: hasValueFlow=2 hasValueFlow=3
14+
Sink $x # $ hasValueFlow=2 hasValueFlow=3
1515

1616
function returnSource1 {
1717
return Source "4"
1818
}
1919

2020
$x = returnSource1
21-
Sink $x # $ MISSING: hasValueFlow=4
21+
Sink $x # $ hasValueFlow=4
2222

2323
function returnSource2 {
2424
$x = Source "5"
@@ -28,4 +28,4 @@ function returnSource2 {
2828
}
2929

3030
$x = returnSource2
31-
Sink $x # $ MISSING: hasValueFlow=5 hasValueFlow=6
31+
Sink $x # $ hasValueFlow=5 hasValueFlow=6

0 commit comments

Comments
 (0)