os: UserCacheDir has no tests #57638
Labels
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
os.UserCacheDir
was added in https://go.dev/cl/78835 for #22536.In examining #57630, it seems that this function is not covered by any tests at all. There were none added in https://go.dev/cl/78835, nor in https://go.dev/cl/120757.
It seems like we should at least have some test that verifies that😅
UserCacheDir
reports either an error or a directory in which the user is allowed to create files.(CC @rsc @robpike @ianlancetaylor @bradfitz @griesemer for
os
)The text was updated successfully, but these errors were encountered: