0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-17 00:50:53 +01:00
forgejo/models/migrations
wxiaoguang 911975059a
Improve test logger ()
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.
2023-04-21 16:32:25 -04:00
..
base
fixtures
v1_6
v1_7
v1_8
v1_9
v1_10
v1_11
v1_12 Refactor setting.Database.UseXXX to methods () 2023-03-07 18:51:06 +08:00
v1_13
v1_14
v1_15
v1_16 Refactor setting.Database.UseXXX to methods () 2023-03-07 18:51:06 +08:00
v1_17
v1_18
v1_19
v1_20
migrations.go