Commit 8562b55
committed
fix: use assert.ErrorContains for cleaner error assertion
Replace two-line assertion pattern (assert.NotNil + assert.Contains)
with single assert.ErrorContains call for more idiomatic test code.
Signed-off-by: 7908837174 <[email protected]>1 parent 4efe108 commit 8562b55
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
| |||
0 commit comments