From 78b03929b7b2c05da6cc939bc5ac98944d36e34a Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 4 Jan 2015 16:57:55 +0000 Subject: [PATCH] Fix ModTime test --- fstest/fstests/fstests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go index 95120d81d..56079f4a8 100644 --- a/fstest/fstests/fstests.go +++ b/fstest/fstests/fstests.go @@ -312,7 +312,7 @@ func TestObjectSetModTime(t *testing.T) { obj := findObject(t, file1.Path) obj.SetModTime(newModTime) file1.ModTime = newModTime - file1.CheckModTime(t, obj, newModTime, remote.Precision()) + file1.CheckModTime(t, obj, obj.ModTime(), remote.Precision()) // And make a new object and read it from there too TestObjectModTime(t) }