Begin test maintenance. Currently at 63.3% coverage.

This commit is contained in:
Netscape Navigator 2020-11-15 12:46:43 -06:00
parent 823ae77593
commit 9a4ebadbfd
1 changed files with 1 additions and 4 deletions

View File

@ -35,10 +35,7 @@ func pathAndFilename(mhash string) (dirPath string, fileName string) {
func createBlobDirectory(mhash string) string {
dirPath, fileName := pathAndFilename(mhash)
err := os.MkdirAll(dirPath, 0700)
if err != nil {
panicf("createBlobDirectory: %s", err)
}
check(err, "createBlobDirectory: %s", err)
return path.Join(dirPath, fileName)
}