• Kirill Smelkov's avatar
    fuse/test: TestFopenKeepCache: denoise · 10b3d01e
    Kirill Smelkov authored
    We have many calls to ioutil.WriteFile and ioutil.ReadFile + checking
    for error. Move those calls into utility functions which call t.Fatal if
    they see any error. No need to use additional error prefix as both
    ioutil.WriteFile and ReadFile produce os.PathError which always has
    opertion and path on which it was performed.
    10b3d01e
cache_test.go 5.04 KB