ioutils: Add tests

This commit is contained in:
Harshavardhana
2016-01-26 12:34:04 -08:00
parent 13feabefd5
commit 18375b7794
3 changed files with 77 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ var _ = Suite(&MySuite{})
func (s *MySuite) TestFree(c *C) {
path, err := ioutil.TempDir(os.TempDir(), "minio-")
defer os.RemoveAll(path)
c.Assert(err, IsNil)
di, err := disk.GetInfo(path)