Fix ModTime test

This commit is contained in:
Nick Craig-Wood 2015-01-04 16:57:55 +00:00
parent 492362ec7d
commit 78b03929b7

View File

@ -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)
}