Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use T.TempDir to create temporary test directory #700

Merged
merged 1 commit into from Feb 10, 2022
Merged

test: use T.TempDir to create temporary test directory #700

merged 1 commit into from Feb 10, 2022

Commits on Feb 9, 2022

  1. 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>
    Juneezee committed Feb 9, 2022
    Copy the full SHA
    98d2f99 View commit details
    Browse the repository at this point in the history