Skip to content

Commit 286611e

Browse files
committed
Test changes to investigate
1 parent 213d016 commit 286611e

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

go/ql/test/library-tests/semmle/go/dataflow/GlobalValueNumbering/GlobalValueNumber.expected

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@
2626
| main.go:28:15:28:17 | zero value for res | main.go:10:7:10:7 | 0 |
2727
| main.go:29:8:29:8 | 5 | main.go:29:8:29:8 | 5 |
2828
| main.go:30:9:30:9 | 6 | main.go:30:9:30:9 | 6 |
29-
| main.go:30:9:30:9 | definition of res | main.go:30:9:30:9 | 6 |
30-
| main.go:33:15:33:17 | definition of res | main.go:10:7:10:7 | 0 |
29+
| main.go:30:9:30:9 | SSA def(res) | main.go:30:9:30:9 | 6 |
3130
| main.go:33:15:33:17 | zero value for res | main.go:10:7:10:7 | 0 |
32-
| main.go:34:2:34:4 | definition of res | main.go:34:8:34:8 | 7 |
3331
| main.go:34:8:34:8 | 7 | main.go:34:8:34:8 | 7 |
3432
| main.go:35:8:37:4 | function call | main.go:35:8:37:4 | function call |
3533
| main.go:36:3:36:5 | SSA def(res) | main.go:36:9:36:9 | 8 |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
invalidModelRow
22
testFailures
3+
| main.go:15:33:15:39 | SSA def(request) | Unexpected result: source="SSA def(request)" |
4+
| main.go:15:77:15:111 | comment | Missing result: source="definition of request" |
5+
| main.go:20:36:20:42 | SSA def(request) | Unexpected result: source="SSA def(request)" |
6+
| main.go:20:80:20:114 | comment | Missing result: source="definition of request" |
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
invalidModelRow
22
testFailures
3+
| main.go:18:46:18:48 | SSA def(req) | Unexpected result: serverRequest="SSA def(req)" |
4+
| main.go:18:89:18:126 | comment | Missing result: serverRequest="definition of req" |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
invalidModelRow
22
testFailures
3+
| yaml.go:27:7:27:25 | call to NewEncoder | Unexpected result: ttfnmodelstep="SSA def(e) -> w [postupdate]" |
4+
| yaml.go:27:27:27:80 | comment | Missing result: ttfnmodelstep="definition of e -> w [postupdate]" |
5+
| yaml.go:36:8:36:26 | call to NewEncoder | Unexpected result: ttfnmodelstep="SSA def(e1) -> w [postupdate]" |
6+
| yaml.go:36:28:36:82 | comment | Missing result: ttfnmodelstep="definition of e1 -> w [postupdate]" |
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
invalidModelRow
22
testFailures
3+
| graph/schema.resolvers.go:14:60:14:64 | SSA def(input) | Unexpected result: resolverParameter="SSA def(input)" |
4+
| graph/schema.resolvers.go:14:104:14:147 | comment | Missing result: resolverParameter="definition of input" |

0 commit comments

Comments
 (0)