mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
911975059a
Before, there was a `log/buffer.go`, but that design is not general, and it introduces a lot of irrelevant `Content() (string, error) ` and `return "", fmt.Errorf("not supported")` . And the old `log/buffer.go` is difficult to use, developers have to write a lot of `Contains` and `Sleep` code. The new `LogChecker` is designed to be a general approach to help to assert some messages appearing or not appearing in logs. |
||
---|---|---|
.. | ||
codebase_test.go | ||
codebase.go | ||
common.go | ||
dump.go | ||
error.go | ||
git.go | ||
gitbucket.go | ||
gitea_downloader_test.go | ||
gitea_downloader.go | ||
gitea_uploader_test.go | ||
gitea_uploader.go | ||
github_test.go | ||
github.go | ||
gitlab_test.go | ||
gitlab.go | ||
gogs_test.go | ||
gogs.go | ||
http_client.go | ||
main_test.go | ||
migrate_test.go | ||
migrate.go | ||
onedev_test.go | ||
onedev.go | ||
restore.go | ||
update.go |