2
0
mirror of synced 2025-02-23 06:08:07 +00:00
Eng Zer Jun 841a702e34
test: use T.TempDir to create temporary test directory (#718)
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-02-02 18:26:46 +11:00
..