mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
Fix ModTime test
This commit is contained in:
@@ -312,7 +312,7 @@ func TestObjectSetModTime(t *testing.T) {
|
|||||||
obj := findObject(t, file1.Path)
|
obj := findObject(t, file1.Path)
|
||||||
obj.SetModTime(newModTime)
|
obj.SetModTime(newModTime)
|
||||||
file1.ModTime = 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
|
// And make a new object and read it from there too
|
||||||
TestObjectModTime(t)
|
TestObjectModTime(t)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user