Commit 981f7cb
committed
Fix staticcheck SA5011 false positives in function_lifecycle_test.go
Add explicit return statements after t.Fatal() calls to make it clear
to staticcheck that execution terminates, preventing false positive
nil pointer dereference warnings.
This resolves intermittent lint failures in the merge queue where
staticcheck SA5011 would complain about potential nil dereferences
even though t.Fatal() terminates execution.1 parent 895f307 commit 981f7cb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
0 commit comments