0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/test
Eng Zer Jun 0d77b60de7 test: use T.TempDir to create temporary test directory
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-03-07 12:28:49 -08:00
..
common.go storage: improve/fix oci image validation 2022-02-02 13:31:41 -08:00
common_test.go test: use T.TempDir to create temporary test directory 2022-03-07 12:28:49 -08:00
dev.go storage: flush/sync contents to disk on file close 2022-02-07 12:08:01 -08:00
inject_test.go storage: flush/sync contents to disk on file close 2022-02-07 12:08:01 -08:00
prod.go coverage: add failure injection framework 2022-01-28 08:56:00 -08:00