@ -142,8 +142,7 @@ func TestMain(m *testing.M) {
defer lich.Teardown()
d = New()
if code := m.Run(); code != 0 {
lich.Teardown()
os.Exit(code)
panic(code)
}
```
@ -7,6 +7,7 @@ services:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=root
- TZ=Asia/Shanghai
volumes:
- .:/docker-entrypoint-initdb.d
command: [