mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
We want to be able to register hooks which do cleanup, which may be registered after the auditor cleanup check, which means that we want LIFO order for post-hook cleanups. We also want the test hook cleanup to be deferred, rather than merely run after the tests are executed. Also, we have to extract the result from running the test, then execute deferred things, *then* call os.Exit, because os.Exit bypasses defers. |
||
|---|---|---|
| .. | ||
| auditor.go | ||
| auditor_test.go | ||
| cleanup1.13.go | ||
| cleanup1.14.go | ||
| hook.go | ||
| registry.go | ||