Commit c19022f
committed
refactor: standardize error creation in test files
- Import the errors package for error creation in tests
- Replace usage of fmt.Errorf with errors.New for creating a custom error in the test
Signed-off-by: Bo-Yi Wu <[email protected]>1 parent df71c1c commit c19022f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
0 commit comments