* logs: add the buffer logger to inspect logs during testing Signed-off-by: Loïc Dachary <loic@dachary.org> * migrations: add test for importing pull requests in gitea uploader Signed-off-by: Loïc Dachary <loic@dachary.org> * for each git.OpenRepositoryCtx, call Close * Content is expected to return the content of the log * test for errors before defer Co-authored-by: Loïc Dachary <loic@dachary.org> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
||
|---|---|---|
| .. | ||
| buffer.go | ||
| buffer_test.go | ||
| colors.go | ||
| colors_router.go | ||
| conn.go | ||
| conn_test.go | ||
| console.go | ||
| console_test.go | ||
| console_windows.go | ||
| errors.go | ||
| event.go | ||
| file.go | ||
| file_test.go | ||
| flags.go | ||
| level.go | ||
| level_test.go | ||
| log.go | ||
| log_test.go | ||
| logger.go | ||
| multichannel.go | ||
| provider.go | ||
| smtp.go | ||
| smtp_test.go | ||
| stack.go | ||
| writer.go | ||
| writer_test.go | ||