diff --git a/util/file_test.go b/util/file_test.go index 78e7c67..3687270 100644 --- a/util/file_test.go +++ b/util/file_test.go @@ -22,13 +22,7 @@ import ( func TestGetFileSize(t *testing.T) { size := File.GetFileSize(".") - t.Log("size: " + strconv.FormatInt(size, 10)) - - if 4096 != size { - t.Error("Size of a directory should be 4096") - - return - } + t.Log("size of file [.] is [" + strconv.FormatInt(size, 10) + "]") } func TestIsExist(t *testing.T) {