Skip to content

Commit fb8d67f

Browse files
committed
PS: Accept test changes.
1 parent 455e56d commit fb8d67f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ edges
163163
| test.ps1:35:15:35:17 | x | test.ps1:35:9:35:17 | ...,... [element 2] | provenance | |
164164
| test.ps1:38:6:38:11 | arr8 [element 2] | test.ps1:38:6:38:14 | ...[...] | provenance | |
165165
| test.ps1:39:6:39:11 | arr8 [element 2] | test.ps1:39:6:39:21 | ...[...] | provenance | |
166+
| test.ps1:52:22:54:6 | this [field] | test.ps1:53:14:53:19 | this [field] | provenance | |
167+
| test.ps1:53:14:53:19 | this [field] | test.ps1:53:14:53:25 | field | provenance | |
168+
| test.ps1:59:1:59:9 | [post] myClass [field] | test.ps1:61:1:61:9 | myClass [field] | provenance | |
169+
| test.ps1:59:18:59:29 | Source | test.ps1:59:1:59:9 | [post] myClass [field] | provenance | |
170+
| test.ps1:61:1:61:9 | myClass [field] | test.ps1:52:22:54:6 | this [field] | provenance | |
166171
nodes
167172
| test.ps1:1:1:1:3 | [post] a [f] | semmle.label | [post] a [f] |
168173
| test.ps1:1:8:1:18 | Source | semmle.label | Source |
@@ -300,6 +305,12 @@ nodes
300305
| test.ps1:38:6:38:14 | ...[...] | semmle.label | ...[...] |
301306
| test.ps1:39:6:39:11 | arr8 [element 2] | semmle.label | arr8 [element 2] |
302307
| test.ps1:39:6:39:21 | ...[...] | semmle.label | ...[...] |
308+
| test.ps1:52:22:54:6 | this [field] | semmle.label | this [field] |
309+
| test.ps1:53:14:53:19 | this [field] | semmle.label | this [field] |
310+
| test.ps1:53:14:53:25 | field | semmle.label | field |
311+
| test.ps1:59:1:59:9 | [post] myClass [field] | semmle.label | [post] myClass [field] |
312+
| test.ps1:59:18:59:29 | Source | semmle.label | Source |
313+
| test.ps1:61:1:61:9 | myClass [field] | semmle.label | myClass [field] |
303314
subpaths
304315
testFailures
305316
#select
@@ -314,3 +325,4 @@ testFailures
314325
| 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 |
315326
| 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 |
316327
| 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 |
328+
| 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 |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class MyClass {
5050
[string] $field
5151

5252
[void]callSink() {
53-
Sink $this.field # $ MISSING: hasValueFlow=12
53+
Sink $this.field # $ hasValueFlow=12
5454
}
5555
}
5656

0 commit comments

Comments
 (0)