mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
In nearly all cases, we can just switch ioutil.TempDir->testhook.TempDir and similarly for TempFile. There's one case where we can't because we need files to be removed before tests are over. Also in the process give identifiable names to a lot of temporary files and make sure they're being cleaned up, and don't use "/tmp/foo" as a file name in a test that could be running in more than one test process at once. :) |
||
|---|---|---|
| .. | ||
| check.go | ||
| check_test.go | ||
| common.go | ||
| config.go | ||
| config_test.go | ||
| doc.go | ||
| export.go | ||
| export_test.go | ||
| generate_config.go | ||
| generate_config_test.go | ||
| import.go | ||
| import_test.go | ||
| inspect.go | ||
| inspect_test.go | ||
| rbf_check.go | ||
| rbf_dump.go | ||
| rbf_page.go | ||
| rbf_pages.go | ||
| server.go | ||
| server_test.go | ||