This commit is contained in:
Liang Ding 2015-11-20 10:28:41 +08:00
parent 84cdbe88b3
commit 53530862bb
1 changed files with 2 additions and 2 deletions

View File

@ -59,14 +59,14 @@ func TestEmptyDir(t *testing.T) {
dir1 := "/dir/subDir1"
dir2 := "/dir/subDir2"
err := os.MkdirAll(packageName+dir1, 644)
err := os.MkdirAll(packageName+dir1, os.ModeDir)
if nil != err {
t.Error(err)
return
}
err = os.MkdirAll(packageName+dir2, 644)
err = os.MkdirAll(packageName+dir2, os.ModeDir)
if nil != err {
t.Error(err)