From 952d962d54984c8f9dd3bcf6b142eb30c35c8ab0 Mon Sep 17 00:00:00 2001 From: Mark Bates Date: Fri, 1 Nov 2019 16:00:30 -0400 Subject: [PATCH] Imploring: "Another melody?" --- pkging/costello/costello.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkging/costello/costello.go b/pkging/costello/costello.go index 279dded..ad82578 100644 --- a/pkging/costello/costello.go +++ b/pkging/costello/costello.go @@ -60,9 +60,8 @@ func CmpFileInfo(t *testing.T, a os.FileInfo, b os.FileInfo) { t.Helper() r := require.New(t) - r.Equal(a.IsDir(), b.IsDir()) - r.Equal(a.Mode().String(), b.Mode().String()) + r.Equal(a.Mode().Perm(), b.Mode().Perm()) r.Equal(a.Name(), b.Name()) // r.Equal(a.Size(), b.Size()) r.NotZero(b.ModTime())