Skip to content

Commit 93a4864

Browse files
committed
PS: Accept test changes.
1 parent 6797f8f commit 93a4864

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
| test.ps1:1:1:1:4 | a1 | test.ps1:2:6:2:9 | a1 |
22
| test.ps1:1:7:1:13 | Source | test.ps1:1:1:1:4 | a1 |
33
| test.ps1:1:7:1:13 | Source | test.ps1:1:1:1:13 | ...=... |
4+
| test.ps1:2:1:2:9 | Sink | test.ps1:2:1:2:9 | implicit unwrapping of Sink |
5+
| test.ps1:2:1:2:9 | Sink | test.ps1:2:1:2:9 | implicit unwrapping of Sink |
6+
| test.ps1:2:1:2:9 | implicit unwrapping of Sink | test.ps1:1:1:8:9 | return value for test.ps1 |
47
| test.ps1:4:1:4:3 | b | test.ps1:5:4:5:6 | b |
58
| test.ps1:4:6:4:13 | GetBool | test.ps1:4:1:4:3 | b |
69
| test.ps1:4:6:4:13 | GetBool | test.ps1:4:1:4:13 | ...=... |
710
| test.ps1:5:4:5:6 | b | test.ps1:5:4:5:6 | b |
811
| test.ps1:6:5:6:8 | a2 | test.ps1:8:6:8:9 | a2 |
912
| test.ps1:6:11:6:17 | Source | test.ps1:6:5:6:8 | a2 |
1013
| test.ps1:6:11:6:17 | Source | test.ps1:6:5:6:17 | ...=... |
14+
| test.ps1:8:1:8:9 | Sink | test.ps1:8:1:8:9 | implicit unwrapping of Sink |
15+
| test.ps1:8:1:8:9 | Sink | test.ps1:8:1:8:9 | implicit unwrapping of Sink |
16+
| test.ps1:8:1:8:9 | implicit unwrapping of Sink | test.ps1:1:1:8:9 | return value for test.ps1 |

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

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,48 @@
11
models
22
edges
3-
| test.ps1:2:5:2:15 | Source | test.ps1:5:6:5:20 | callSourceOnce | provenance | |
3+
| test.ps1:1:25:3:2 | return value for {...} | test.ps1:5:6:5:20 | callSourceOnce | provenance | |
4+
| test.ps1:2:5:2:15 | Source | test.ps1:2:5:2:15 | implicit unwrapping of Source | provenance | |
5+
| test.ps1:2:5:2:15 | implicit unwrapping of Source | test.ps1:1:25:3:2 | return value for {...} | provenance | |
46
| 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:8:26:11:2 | return value for {...} | test.ps1:13:6:13:21 | callSourceTwice | provenance | |
8+
| test.ps1:9:5:9:15 | Source | test.ps1:9:5:9:15 | implicit unwrapping of Source | provenance | |
9+
| test.ps1:9:5:9:15 | implicit unwrapping of Source | test.ps1:8:26:11:2 | return value for {...} | provenance | |
10+
| test.ps1:10:5:10:15 | Source | test.ps1:10:5:10:15 | implicit unwrapping of Source | provenance | |
11+
| test.ps1:10:5:10:15 | implicit unwrapping of Source | test.ps1:8:26:11:2 | return value for {...} | provenance | |
712
| 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 | |
13+
| test.ps1:16:24:18:2 | return value for {...} | test.ps1:20:6:20:19 | returnSource1 | provenance | |
14+
| test.ps1:17:12:17:22 | Source | test.ps1:17:12:17:22 | implicit unwrapping of Source | provenance | |
15+
| test.ps1:17:12:17:22 | implicit unwrapping of Source | test.ps1:16:24:18:2 | return value for {...} | provenance | |
916
| 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 | |
17+
| test.ps1:23:24:28:2 | return value for {...} | test.ps1:30:6:30:19 | returnSource2 | provenance | |
18+
| test.ps1:24:10:24:20 | Source | test.ps1:25:5:25:7 | implicit unwrapping of x | provenance | |
19+
| test.ps1:25:5:25:7 | implicit unwrapping of x | test.ps1:23:24:28:2 | return value for {...} | provenance | |
20+
| test.ps1:26:10:26:20 | Source | test.ps1:27:12:27:14 | implicit unwrapping of y | provenance | |
21+
| test.ps1:27:12:27:14 | implicit unwrapping of y | test.ps1:23:24:28:2 | return value for {...} | provenance | |
1422
| test.ps1:30:6:30:19 | returnSource2 | test.ps1:31:6:31:8 | x | provenance | |
1523
nodes
24+
| test.ps1:1:25:3:2 | return value for {...} | semmle.label | return value for {...} |
1625
| test.ps1:2:5:2:15 | Source | semmle.label | Source |
26+
| test.ps1:2:5:2:15 | implicit unwrapping of Source | semmle.label | implicit unwrapping of Source |
1727
| test.ps1:5:6:5:20 | callSourceOnce | semmle.label | callSourceOnce |
1828
| test.ps1:6:6:6:8 | x | semmle.label | x |
29+
| test.ps1:8:26:11:2 | return value for {...} | semmle.label | return value for {...} |
1930
| test.ps1:9:5:9:15 | Source | semmle.label | Source |
31+
| test.ps1:9:5:9:15 | implicit unwrapping of Source | semmle.label | implicit unwrapping of Source |
2032
| test.ps1:10:5:10:15 | Source | semmle.label | Source |
33+
| test.ps1:10:5:10:15 | implicit unwrapping of Source | semmle.label | implicit unwrapping of Source |
2134
| test.ps1:13:6:13:21 | callSourceTwice | semmle.label | callSourceTwice |
2235
| test.ps1:14:6:14:8 | x | semmle.label | x |
36+
| test.ps1:16:24:18:2 | return value for {...} | semmle.label | return value for {...} |
2337
| test.ps1:17:12:17:22 | Source | semmle.label | Source |
38+
| test.ps1:17:12:17:22 | implicit unwrapping of Source | semmle.label | implicit unwrapping of Source |
2439
| test.ps1:20:6:20:19 | returnSource1 | semmle.label | returnSource1 |
2540
| test.ps1:21:6:21:8 | x | semmle.label | x |
41+
| test.ps1:23:24:28:2 | return value for {...} | semmle.label | return value for {...} |
2642
| test.ps1:24:10:24:20 | Source | semmle.label | Source |
27-
| test.ps1:25:5:25:7 | x | semmle.label | x |
43+
| test.ps1:25:5:25:7 | implicit unwrapping of x | semmle.label | implicit unwrapping of x |
2844
| test.ps1:26:10:26:20 | Source | semmle.label | Source |
29-
| test.ps1:27:12:27:14 | y | semmle.label | y |
45+
| test.ps1:27:12:27:14 | implicit unwrapping of y | semmle.label | implicit unwrapping of y |
3046
| test.ps1:30:6:30:19 | returnSource2 | semmle.label | returnSource2 |
3147
| test.ps1:31:6:31:8 | x | semmle.label | x |
3248
subpaths

0 commit comments

Comments
 (0)