- Notifications
You must be signed in to change notification settings - Fork913
Commit2377d76
authored
test: ensure the return value of MockAuditor.Contains is checked (#18319)
It unfortunately doesn't seem possible, even with a custom ruleguard rule, to mark a function as requiring it's return value be used, it looks like you have to go all in on a linter that rejects *any* unused return values.1 parentdd27a28 commit2377d76
2 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 |
| - | |
| 138 | + | |
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
| 149 | + | |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1577 | 1577 |
| |
1578 | 1578 |
| |
1579 | 1579 |
| |
1580 |
| - | |
| 1580 | + | |
1581 | 1581 |
| |
1582 | 1582 |
| |
1583 |
| - | |
| 1583 | + | |
1584 | 1584 |
| |
1585 | 1585 |
| |
1586 | 1586 |
| |
|
0 commit comments
Comments
(0)