fix unit testing case for pakage gfile

This commit is contained in:
John Guo
2021-11-02 09:56:53 +08:00
parent 77a0f59cd3
commit 56c12ad7c3

View File

@ -292,7 +292,7 @@ func Test_Info(t *testing.T) {
createTestFile(paths, "")
defer delTestFiles(paths)
files, err = gfile.Info(testpath() + paths)
files, err = gfile.Stat(testpath() + paths)
t.Assert(err, nil)
files2, err = os.Stat(testpath() + paths)