aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/tree/print_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-03Fix temp file close error (#6068)Gravatar Ben Kochie 1-7/+5
Avoid Go 1.20 test error by not attempting to close the testing temp file unless there was an error in Read(). * Use a CreateTemp() to create unique test files. * Defer the deletion of the temp file. Woarkaround for: https://github.com/golang/go/issues/59938 Signed-off-by: SuperQ <superq@gmail.com>
2021-11-19plugin/file: Fix print tree error (#4962)Gravatar xuweiwei 1-0/+102
Automatically submitted.