From 53530862bbc11ef0da5c419a2b68efd386ba9df3 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 20 Nov 2015 10:28:41 +0800 Subject: [PATCH] . --- util/zip_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/zip_test.go b/util/zip_test.go index 2acf25b..9c2c785 100644 --- a/util/zip_test.go +++ b/util/zip_test.go @@ -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)