Skip to content

Commit bc7c893

Browse files
committed
PS: Accept test changes.
1 parent 8bed953 commit bc7c893

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ edges
3939
| test.ps1:35:15:35:17 | x | test.ps1:35:9:35:17 | ...,... [element 2] | provenance | |
4040
| test.ps1:38:6:38:11 | arr8 [element 2] | test.ps1:38:6:38:14 | ...[...] | provenance | |
4141
| test.ps1:39:6:39:11 | arr8 [element 2] | test.ps1:39:6:39:21 | ...[...] | provenance | |
42+
| test.ps1:41:6:41:17 | Source | test.ps1:43:17:43:19 | y | provenance | |
43+
| test.ps1:43:11:43:19 | ...,... [element 2] | test.ps1:46:6:46:11 | arr9 [element 2] | provenance | |
44+
| test.ps1:43:11:43:19 | ...,... [element 2] | test.ps1:47:6:47:11 | arr9 [element 2] | provenance | |
45+
| test.ps1:43:17:43:19 | y | test.ps1:43:11:43:19 | ...,... [element 2] | provenance | |
46+
| test.ps1:46:6:46:11 | arr9 [element 2] | test.ps1:46:6:46:14 | ...[...] | provenance | |
47+
| test.ps1:47:6:47:11 | arr9 [element 2] | test.ps1:47:6:47:21 | ...[...] | provenance | |
4248
| test.ps1:52:22:54:6 | this [field] | test.ps1:53:14:53:19 | this [field] | provenance | |
4349
| test.ps1:53:14:53:19 | this [field] | test.ps1:53:14:53:25 | field | provenance | |
4450
| test.ps1:59:1:59:9 | [post] myClass [field] | test.ps1:61:1:61:9 | myClass [field] | provenance | |
@@ -107,6 +113,13 @@ nodes
107113
| test.ps1:38:6:38:14 | ...[...] | semmle.label | ...[...] |
108114
| test.ps1:39:6:39:11 | arr8 [element 2] | semmle.label | arr8 [element 2] |
109115
| test.ps1:39:6:39:21 | ...[...] | semmle.label | ...[...] |
116+
| test.ps1:41:6:41:17 | Source | semmle.label | Source |
117+
| test.ps1:43:11:43:19 | ...,... [element 2] | semmle.label | ...,... [element 2] |
118+
| test.ps1:43:17:43:19 | y | semmle.label | y |
119+
| test.ps1:46:6:46:11 | arr9 [element 2] | semmle.label | arr9 [element 2] |
120+
| test.ps1:46:6:46:14 | ...[...] | semmle.label | ...[...] |
121+
| test.ps1:47:6:47:11 | arr9 [element 2] | semmle.label | arr9 [element 2] |
122+
| test.ps1:47:6:47:21 | ...[...] | semmle.label | ...[...] |
110123
| test.ps1:52:22:54:6 | this [field] | semmle.label | this [field] |
111124
| test.ps1:53:14:53:19 | this [field] | semmle.label | this [field] |
112125
| test.ps1:53:14:53:25 | field | semmle.label | field |
@@ -142,6 +155,8 @@ testFailures
142155
| test.ps1:31:6:31:33 | ...[...] | test.ps1:29:31:29:41 | Source | test.ps1:31:6:31:33 | ...[...] | $@ | test.ps1:29:31:29:41 | Source | Source |
143156
| test.ps1:38:6:38:14 | ...[...] | test.ps1:33:6:33:17 | Source | test.ps1:38:6:38:14 | ...[...] | $@ | test.ps1:33:6:33:17 | Source | Source |
144157
| test.ps1:39:6:39:21 | ...[...] | test.ps1:33:6:33:17 | Source | test.ps1:39:6:39:21 | ...[...] | $@ | test.ps1:33:6:33:17 | Source | Source |
158+
| test.ps1:46:6:46:14 | ...[...] | test.ps1:41:6:41:17 | Source | test.ps1:46:6:46:14 | ...[...] | $@ | test.ps1:41:6:41:17 | Source | Source |
159+
| test.ps1:47:6:47:21 | ...[...] | test.ps1:41:6:41:17 | Source | test.ps1:47:6:47:21 | ...[...] | $@ | test.ps1:41:6:41:17 | Source | Source |
145160
| test.ps1:53:14:53:25 | field | test.ps1:59:18:59:29 | Source | test.ps1:53:14:53:25 | field | $@ | test.ps1:59:18:59:29 | Source | Source |
146161
| test.ps1:72:6:72:11 | ...[...] | test.ps1:64:10:64:21 | Source | test.ps1:72:6:72:11 | ...[...] | $@ | test.ps1:64:10:64:21 | Source | Source |
147162
| test.ps1:72:6:72:11 | ...[...] | test.ps1:65:10:65:21 | Source | test.ps1:72:6:72:11 | ...[...] | $@ | test.ps1:65:10:65:21 | Source | Source |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ $y = Source "11"
4343
$arr9 = @(0, 1, $y)
4444
Sink $arr9[0] # clean
4545
Sink $arr9[1] # clean
46-
Sink $arr9[2] # $ MISSING: hasValueFlow=11
47-
Sink $arr9[$unknown] # MISSING: hasValueFlow=11
46+
Sink $arr9[2] # $ hasValueFlow=11
47+
Sink $arr9[$unknown] # $ hasValueFlow=11
4848

4949
class MyClass {
5050
[string] $field

0 commit comments

Comments
 (0)