Commit 338a39c
committed
test: pass context.Background() instead of nil to LLM client
CI staticcheck flagged SA1012 — passing nil as a context argument, even
where the function signature permits it, is a lint error. My local
golangci-lint run was pulling a cached rule set that didn't enforce this;
CI's fresh download did.
Swap the two nil args in TestAnthropicClient_ModelManagementNotSupported
for a shared context.Background(). No behavior change.1 parent 89ecf99 commit 338a39c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments