Skip to content

Commit 03f3561

Browse files
committed
PS: Accept test changes.
1 parent cdd68b3 commit 03f3561

File tree

8 files changed

+203
-202
lines changed

8 files changed

+203
-202
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| ParamBlock.ps1:1:1:5:1 | {...} | 0 | ParamBlock.ps1:1:1:5:1 | Parameter |
1+
| ParamBlock.ps1:1:1:5:1 | {...} | 0 | ParamBlock.ps1:3:5:4:22 | Parameter |
22
| ParamBlock.ps1:1:1:5:1 | {...} | 1 | ParamBlock.ps1:1:1:5:1 | [synth] pipeline |

powershell/ql/test/library-tests/ast/Statements/statements.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
| Try.ps1:11:9:13:1 | {...} |
2323
| Try.ps1:12:5:12:36 | [Stmt] The finally block is executed. |
2424
| UseProcessBlockForPipelineCommand.ps1:1:1:11:1 | def of Get-Number |
25-
| UseProcessBlockForPipelineCommand.ps1:10:5:10:11 | (no string representation) |
25+
| UseProcessBlockForPipelineCommand.ps1:10:5:10:11 | [Stmt] Number |

powershell/ql/test/library-tests/ast/parent.expected

Lines changed: 27 additions & 26 deletions
Large diffs are not rendered by default.

powershell/ql/test/library-tests/controlflow/graph/Cfg.expected

Lines changed: 50 additions & 50 deletions
Large diffs are not rendered by default.

powershell/ql/test/library-tests/controlflow/graph/consistency.expected

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ breakInvariant3
44
breakInvariant4
55
breakInvariant5
66
multipleSuccessors
7-
| functions.ps1:13:28:20:1 | name1 | successor | functions.ps1:13:28:20:1 | name2 |
8-
| functions.ps1:13:28:20:1 | name1 | successor | functions.ps1:16:24:16:24 | 0 |
9-
| functions.ps1:13:28:20:1 | name2 | successor | functions.ps1:13:28:20:1 | [synth] pipeline |
10-
| functions.ps1:13:28:20:1 | name2 | successor | functions.ps1:17:24:17:29 | name1 |
11-
| functions.ps1:16:24:16:24 | 0 | successor | functions.ps1:13:28:20:1 | name2 |
7+
| functions.ps1:16:9:16:24 | name1 | successor | functions.ps1:16:24:16:24 | 0 |
8+
| functions.ps1:16:9:16:24 | name1 | successor | functions.ps1:17:9:17:33 | name2 |
9+
| functions.ps1:16:24:16:24 | 0 | successor | functions.ps1:17:9:17:33 | name2 |
1210
| functions.ps1:16:24:16:24 | 0 | successor | functions.ps1:17:24:17:29 | name1 |
11+
| functions.ps1:17:9:17:33 | name2 | successor | functions.ps1:13:28:20:1 | [synth] pipeline |
12+
| functions.ps1:17:9:17:33 | name2 | successor | functions.ps1:17:24:17:29 | name1 |
1313
| functions.ps1:17:24:17:33 | ...+... | successor | functions.ps1:13:28:20:1 | [synth] pipeline |
14-
| functions.ps1:17:24:17:33 | ...+... | successor | functions.ps1:13:28:20:1 | name0 |
14+
| functions.ps1:17:24:17:33 | ...+... | successor | functions.ps1:15:9:15:20 | name0 |
1515
| functions.ps1:46:17:46:18 | __pipeline_iterator | successor | functions.ps1:44:5:47:5 | [synth] pipeline |
1616
| functions.ps1:46:17:46:18 | __pipeline_iterator | successor | functions.ps1:48:5:51:5 | {...} |
1717
| loops.ps1:45:14:45:19 | ...+... | successor | loops.ps1:44:18:44:19 | i |

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

Lines changed: 90 additions & 90 deletions
Large diffs are not rendered by default.

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

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ edges
66
| test.ps1:5:5:5:6 | x | test.ps1:17:1:17:7 | Call to produce [unknown index] | provenance | |
77
| test.ps1:6:5:6:6 | y | test.ps1:17:1:17:7 | Call to produce [unknown index] | provenance | |
88
| test.ps1:6:9:6:10 | z | test.ps1:17:1:17:7 | Call to produce [unknown index] | provenance | |
9-
| test.ps1:9:29:15:1 | [synth] pipeline [element 0] | test.ps1:12:5:14:5 | [synth] pipeline [element 0] | provenance | |
10-
| test.ps1:9:29:15:1 | [synth] pipeline [element 1] | test.ps1:12:5:14:5 | [synth] pipeline [element 1] | provenance | |
11-
| test.ps1:9:29:15:1 | [synth] pipeline [unknown index] | test.ps1:12:5:14:5 | [synth] pipeline [unknown index] | provenance | |
12-
| test.ps1:12:5:14:5 | [synth] pipeline [element 0] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
13-
| test.ps1:12:5:14:5 | [synth] pipeline [element 1] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
14-
| test.ps1:12:5:14:5 | [synth] pipeline [unknown index] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
15-
| test.ps1:17:1:17:7 | Call to produce [unknown index] | test.ps1:9:29:15:1 | [synth] pipeline [unknown index] | provenance | |
9+
| test.ps1:10:11:10:43 | x [element 0] | test.ps1:12:5:14:5 | x [element 0] | provenance | |
10+
| test.ps1:10:11:10:43 | x [element 1] | test.ps1:12:5:14:5 | x [element 1] | provenance | |
11+
| test.ps1:10:11:10:43 | x [unknown index] | test.ps1:12:5:14:5 | x [unknown index] | provenance | |
12+
| test.ps1:12:5:14:5 | x [element 0] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
13+
| test.ps1:12:5:14:5 | x [element 1] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
14+
| test.ps1:12:5:14:5 | x [unknown index] | test.ps1:13:9:13:15 | __pipeline_iterator | provenance | |
15+
| test.ps1:17:1:17:7 | Call to produce [unknown index] | test.ps1:10:11:10:43 | x [unknown index] | provenance | |
1616
| test.ps1:19:6:19:15 | Call to Source | test.ps1:21:1:21:2 | x | provenance | |
1717
| test.ps1:20:6:20:15 | Call to Source | test.ps1:21:5:21:6 | y | provenance | |
1818
| test.ps1:21:1:21:2 | x | test.ps1:21:1:21:6 | ...,... [element 0] | provenance | |
19-
| test.ps1:21:1:21:6 | ...,... [element 0] | test.ps1:9:29:15:1 | [synth] pipeline [element 0] | provenance | |
20-
| test.ps1:21:1:21:6 | ...,... [element 1] | test.ps1:9:29:15:1 | [synth] pipeline [element 1] | provenance | |
19+
| test.ps1:21:1:21:6 | ...,... [element 0] | test.ps1:10:11:10:43 | x [element 0] | provenance | |
20+
| test.ps1:21:1:21:6 | ...,... [element 1] | test.ps1:10:11:10:43 | x [element 1] | provenance | |
2121
| test.ps1:21:5:21:6 | y | test.ps1:21:1:21:6 | ...,... [element 1] | provenance | |
2222
| test.ps1:23:38:27:1 | [synth] pipeline [element 0] | test.ps1:24:5:26:5 | [synth] pipeline [element 0] | provenance | |
2323
| test.ps1:23:38:27:1 | [synth] pipeline [element 1] | test.ps1:24:5:26:5 | [synth] pipeline [element 1] | provenance | |
@@ -29,16 +29,16 @@ edges
2929
| test.ps1:31:1:31:6 | ...,... [element 0] | test.ps1:23:38:27:1 | [synth] pipeline [element 0] | provenance | |
3030
| test.ps1:31:1:31:6 | ...,... [element 1] | test.ps1:23:38:27:1 | [synth] pipeline [element 1] | provenance | |
3131
| test.ps1:31:5:31:6 | y | test.ps1:31:1:31:6 | ...,... [element 1] | provenance | |
32-
| test.ps1:42:60:48:1 | x [element 0, element x] | test.ps1:45:5:47:5 | x [element 0, element x] | provenance | |
33-
| test.ps1:42:60:48:1 | x [element 1, element x] | test.ps1:45:5:47:5 | x [element 1, element x] | provenance | |
34-
| test.ps1:42:60:48:1 | x [element 2, element x] | test.ps1:45:5:47:5 | x [element 2, element x] | provenance | |
32+
| test.ps1:43:11:43:57 | x [element 0, element x] | test.ps1:45:5:47:5 | x [element 0, element x] | provenance | |
33+
| test.ps1:43:11:43:57 | x [element 1, element x] | test.ps1:45:5:47:5 | x [element 1, element x] | provenance | |
34+
| test.ps1:43:11:43:57 | x [element 2, element x] | test.ps1:45:5:47:5 | x [element 2, element x] | provenance | |
3535
| test.ps1:45:5:47:5 | x [element 0, element x] | test.ps1:46:9:46:15 | __pipeline_iterator for x | provenance | |
3636
| test.ps1:45:5:47:5 | x [element 1, element x] | test.ps1:46:9:46:15 | __pipeline_iterator for x | provenance | |
3737
| test.ps1:45:5:47:5 | x [element 2, element x] | test.ps1:46:9:46:15 | __pipeline_iterator for x | provenance | |
3838
| test.ps1:50:1:50:33 | [...]... [element x] | test.ps1:50:1:50:105 | ...,... [element 0, element x] | provenance | |
39-
| test.ps1:50:1:50:105 | ...,... [element 0, element x] | test.ps1:42:60:48:1 | x [element 0, element x] | provenance | |
40-
| test.ps1:50:1:50:105 | ...,... [element 1, element x] | test.ps1:42:60:48:1 | x [element 1, element x] | provenance | |
41-
| test.ps1:50:1:50:105 | ...,... [element 2, element x] | test.ps1:42:60:48:1 | x [element 2, element x] | provenance | |
39+
| test.ps1:50:1:50:105 | ...,... [element 0, element x] | test.ps1:43:11:43:57 | x [element 0, element x] | provenance | |
40+
| test.ps1:50:1:50:105 | ...,... [element 1, element x] | test.ps1:43:11:43:57 | x [element 1, element x] | provenance | |
41+
| test.ps1:50:1:50:105 | ...,... [element 2, element x] | test.ps1:43:11:43:57 | x [element 2, element x] | provenance | |
4242
| test.ps1:50:17:50:33 | ${...} [element x] | test.ps1:50:1:50:33 | [...]... [element x] | provenance | |
4343
| test.ps1:50:23:50:32 | Call to Source | test.ps1:50:17:50:33 | ${...} [element x] | provenance | |
4444
| test.ps1:50:36:50:69 | [...]... [element x] | test.ps1:50:1:50:105 | ...,... [element 1, element x] | provenance | |
@@ -54,12 +54,12 @@ nodes
5454
| test.ps1:5:5:5:6 | x | semmle.label | x |
5555
| test.ps1:6:5:6:6 | y | semmle.label | y |
5656
| test.ps1:6:9:6:10 | z | semmle.label | z |
57-
| test.ps1:9:29:15:1 | [synth] pipeline [element 0] | semmle.label | [synth] pipeline [element 0] |
58-
| test.ps1:9:29:15:1 | [synth] pipeline [element 1] | semmle.label | [synth] pipeline [element 1] |
59-
| test.ps1:9:29:15:1 | [synth] pipeline [unknown index] | semmle.label | [synth] pipeline [unknown index] |
60-
| test.ps1:12:5:14:5 | [synth] pipeline [element 0] | semmle.label | [synth] pipeline [element 0] |
61-
| test.ps1:12:5:14:5 | [synth] pipeline [element 1] | semmle.label | [synth] pipeline [element 1] |
62-
| test.ps1:12:5:14:5 | [synth] pipeline [unknown index] | semmle.label | [synth] pipeline [unknown index] |
57+
| test.ps1:10:11:10:43 | x [element 0] | semmle.label | x [element 0] |
58+
| test.ps1:10:11:10:43 | x [element 1] | semmle.label | x [element 1] |
59+
| test.ps1:10:11:10:43 | x [unknown index] | semmle.label | x [unknown index] |
60+
| test.ps1:12:5:14:5 | x [element 0] | semmle.label | x [element 0] |
61+
| test.ps1:12:5:14:5 | x [element 1] | semmle.label | x [element 1] |
62+
| test.ps1:12:5:14:5 | x [unknown index] | semmle.label | x [unknown index] |
6363
| test.ps1:13:9:13:15 | __pipeline_iterator | semmle.label | __pipeline_iterator |
6464
| test.ps1:17:1:17:7 | Call to produce [unknown index] | semmle.label | Call to produce [unknown index] |
6565
| test.ps1:19:6:19:15 | Call to Source | semmle.label | Call to Source |
@@ -79,9 +79,9 @@ nodes
7979
| test.ps1:31:1:31:6 | ...,... [element 0] | semmle.label | ...,... [element 0] |
8080
| test.ps1:31:1:31:6 | ...,... [element 1] | semmle.label | ...,... [element 1] |
8181
| test.ps1:31:5:31:6 | y | semmle.label | y |
82-
| test.ps1:42:60:48:1 | x [element 0, element x] | semmle.label | x [element 0, element x] |
83-
| test.ps1:42:60:48:1 | x [element 1, element x] | semmle.label | x [element 1, element x] |
84-
| test.ps1:42:60:48:1 | x [element 2, element x] | semmle.label | x [element 2, element x] |
82+
| test.ps1:43:11:43:57 | x [element 0, element x] | semmle.label | x [element 0, element x] |
83+
| test.ps1:43:11:43:57 | x [element 1, element x] | semmle.label | x [element 1, element x] |
84+
| test.ps1:43:11:43:57 | x [element 2, element x] | semmle.label | x [element 2, element x] |
8585
| test.ps1:45:5:47:5 | x [element 0, element x] | semmle.label | x [element 0, element x] |
8686
| test.ps1:45:5:47:5 | x [element 1, element x] | semmle.label | x [element 1, element x] |
8787
| test.ps1:45:5:47:5 | x [element 2, element x] | semmle.label | x [element 2, element x] |
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| explicit.ps1:5:5:5:6 | a | explicit.ps1:5:5:5:6 | a |
22
| explicit.ps1:6:5:6:6 | b | explicit.ps1:6:5:6:6 | b |
3-
| parameters.ps1:1:45:3:1 | n1 | parameters.ps1:1:45:3:1 | n1 |
4-
| parameters.ps1:1:45:3:1 | n2 | parameters.ps1:1:45:3:1 | n2 |
5-
| parameters.ps1:5:22:11:1 | a | parameters.ps1:5:22:11:1 | a |
6-
| parameters.ps1:5:22:11:1 | b | parameters.ps1:5:22:11:1 | b |
3+
| parameters.ps1:1:25:1:32 | n1 | parameters.ps1:1:25:1:32 | n1 |
4+
| parameters.ps1:1:35:1:42 | n2 | parameters.ps1:1:35:1:42 | n2 |
5+
| parameters.ps1:7:9:7:15 | a | parameters.ps1:7:9:7:15 | a |
6+
| parameters.ps1:8:9:8:15 | b | parameters.ps1:8:9:8:15 | b |

0 commit comments

Comments
 (0)