update unit test case for gfile.IsEmpty

This commit is contained in:
John
2019-09-05 20:18:49 +08:00
parent 952eb7df15
commit d63c2882fd

View File

@ -39,7 +39,7 @@ func Test_IsEmpty(t *testing.T) {
defer delTestFiles(path)
gtest.Assert(gfile.IsEmpty(testpath()+path), true)
gtest.Assert(gfile.IsEmpty(testpath()+path+gfile.Separator+"test.txt"), false)
gtest.Assert(gfile.IsEmpty(testpath()+path+gfile.Separator+"test.txt"), true)
})
gtest.Case(t, func() {
path := "/testfile_" + gconv.String(gtime.Nanosecond())