1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-01 05:28:30 +00:00

Merge pull request #22 from stephen679/set_aliasing

check: creator.curSet pointer aliasing
This commit is contained in:
Vincent Batts 2016-07-20 07:40:19 +09:00 committed by GitHub
commit 61dd456524
2 changed files with 5 additions and 2 deletions

View file

@ -122,6 +122,9 @@ func TestTimeComparison(t *testing.T) {
if err := os.Chtimes(fh.Name(), epoch, epoch); err != nil {
t.Fatal(err)
}
if err := os.Chtimes(dir, epoch, epoch); err != nil {
t.Fatal(err)
}
if err := fh.Close(); err != nil {
t.Error(err)
}