forked from mirror/pkger
Imploring: "Another melody?"
This commit is contained in:
parent
c191846c48
commit
952d962d54
|
@ -60,9 +60,8 @@ func CmpFileInfo(t *testing.T, a os.FileInfo, b os.FileInfo) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
|
|
||||||
r := require.New(t)
|
r := require.New(t)
|
||||||
|
|
||||||
r.Equal(a.IsDir(), b.IsDir())
|
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.Name(), b.Name())
|
||||||
// r.Equal(a.Size(), b.Size())
|
// r.Equal(a.Size(), b.Size())
|
||||||
r.NotZero(b.ModTime())
|
r.NotZero(b.ModTime())
|
||||||
|
|
Loading…
Reference in New Issue