Skip to content

Commit 05e21ad

Browse files
committed
Accept test changes
1 parent f67d0ea commit 05e21ad

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

go/ql/test/query-tests/InconsistentCode/UnhandledCloseWritableHandle/UnhandledCloseWritableHandle.expected

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
| tests.go:15:3:15:3 | f | tests.go:46:5:46:76 | ... := ...[0] | tests.go:15:3:15:3 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:46:15:46:76 | call to OpenFile | call to OpenFile |
66
| tests.go:57:3:57:3 | f | tests.go:55:5:55:78 | ... := ...[0] | tests.go:57:3:57:3 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:55:15:55:78 | call to OpenFile | call to OpenFile |
77
| tests.go:69:3:69:3 | f | tests.go:67:5:67:76 | ... := ...[0] | tests.go:69:3:69:3 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:67:15:67:76 | call to OpenFile | call to OpenFile |
8-
| tests.go:112:9:112:9 | f | tests.go:109:5:109:78 | ... := ...[0] | tests.go:112:9:112:9 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:109:15:109:78 | call to OpenFile | call to OpenFile |
98
| tests.go:126:9:126:9 | f | tests.go:124:5:124:78 | ... := ...[0] | tests.go:126:9:126:9 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:124:15:124:78 | call to OpenFile | call to OpenFile |
109
| tests.go:145:3:145:3 | f | tests.go:141:5:141:78 | ... := ...[0] | tests.go:145:3:145:3 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:141:15:141:78 | call to OpenFile | call to OpenFile |
1110
| tests.go:166:8:166:8 | f | tests.go:162:2:162:74 | ... := ...[0] | tests.go:166:8:166:8 | f | File handle may be writable as a result of data flow from a $@ and closing it may result in data loss upon failure, which is not handled explicitly. | tests.go:162:12:162:74 | call to OpenFile | call to OpenFile |
@@ -23,7 +22,6 @@ edges
2322
| tests.go:48:29:48:29 | f | tests.go:13:32:13:32 | definition of f | provenance | |
2423
| tests.go:55:5:55:78 | ... := ...[0] | tests.go:57:3:57:3 | f | provenance | Src:MaD:1 |
2524
| tests.go:67:5:67:76 | ... := ...[0] | tests.go:69:3:69:3 | f | provenance | Src:MaD:1 |
26-
| tests.go:109:5:109:78 | ... := ...[0] | tests.go:112:9:112:9 | f | provenance | Src:MaD:1 |
2725
| tests.go:124:5:124:78 | ... := ...[0] | tests.go:126:9:126:9 | f | provenance | Src:MaD:1 |
2826
| tests.go:141:5:141:78 | ... := ...[0] | tests.go:145:3:145:3 | f | provenance | Src:MaD:1 |
2927
| tests.go:162:2:162:74 | ... := ...[0] | tests.go:166:8:166:8 | f | provenance | Src:MaD:1 |
@@ -45,12 +43,13 @@ nodes
4543
| tests.go:57:3:57:3 | f | semmle.label | f |
4644
| tests.go:67:5:67:76 | ... := ...[0] | semmle.label | ... := ...[0] |
4745
| tests.go:69:3:69:3 | f | semmle.label | f |
48-
| tests.go:109:5:109:78 | ... := ...[0] | semmle.label | ... := ...[0] |
49-
| tests.go:112:9:112:9 | f | semmle.label | f |
5046
| tests.go:124:5:124:78 | ... := ...[0] | semmle.label | ... := ...[0] |
5147
| tests.go:126:9:126:9 | f | semmle.label | f |
5248
| tests.go:141:5:141:78 | ... := ...[0] | semmle.label | ... := ...[0] |
5349
| tests.go:145:3:145:3 | f | semmle.label | f |
5450
| tests.go:162:2:162:74 | ... := ...[0] | semmle.label | ... := ...[0] |
5551
| tests.go:166:8:166:8 | f | semmle.label | f |
5652
subpaths
53+
testFailures
54+
| tests.go:109:94:109:114 | comment | Fixed spurious result: Source |
55+
| tests.go:112:19:112:38 | comment | Fixed spurious result: Alert |

0 commit comments

Comments
 (0)