Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kbabushkin committed Apr 10, 2024
1 parent 81eeb3d commit f881376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golibs/files/mmfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func TestGrowMMFile(t *testing.T) {
// after the growth the mod time should be changed
fi1, err := os.Stat(fn)
assert.Nil(t, err)
assert.True(t, fi1.ModTime().After(fi.ModTime()))
assert.True(t, fi1.ModTime().UTC().After(fi.ModTime().UTC()))

res, err = mmf.Buffer(4093, len(buf))
assert.Nil(t, err)
Expand Down

0 comments on commit f881376

Please sign in to comment.