Commit 8656d17
committed
test: suppress error checks in logger and test files
- Ignore the error returned by `fmt.Sscanf` in the logger initialization.
- Add a `nolint` directive to suppress error checking in the test file.
Signed-off-by: codiing-hui <wecoding@yeah.net>1 parent 666cb40 commit 8656d17
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments