Pass the mock logger directly to `run()` instead of mocking `logrus.New`. Doing the later leads to a data race when multiple parallel tests modify the (global) `var logrusNew logrus.New`. Thanks to Tomas Hozza for reporting. |
||
|---|---|---|
| .. | ||
| build_result.go | ||
| config.go | ||
| export_test.go | ||
| handler_build.go | ||
| handler_build_test.go | ||
| handler_result.go | ||
| handler_result_test.go | ||
| handler_root.go | ||
| handler_root_test.go | ||
| main.go | ||
| main_test.go | ||
| routes.go | ||