aboutsummaryrefslogtreecommitdiffstats
path: root/models/unittest/fscopy.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/unittest/fscopy.go')
-rw-r--r--models/unittest/fscopy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/unittest/fscopy.go b/models/unittest/fscopy.go
index b7ba6b7ef5..98b01815bd 100644
--- a/models/unittest/fscopy.go
+++ b/models/unittest/fscopy.go
@@ -28,7 +28,7 @@ func SyncFile(srcPath, destPath string) error {
}
if src.Size() == dest.Size() &&
- src.ModTime() == dest.ModTime() &&
+ src.ModTime().Equal(dest.ModTime()) &&
src.Mode() == dest.Mode() {
return nil
}