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> |
||
---|---|---|
.. | ||
all.go | ||
auth_walk.go | ||
elem.go | ||
glue.go | ||
less.go | ||
less_test.go | ||
print.go | ||
print_test.go | ||
tree.go | ||
walk.go |