fs: fix --immutable tests on remotes which don't have modtime

This commit is contained in:
Nick Craig-Wood 2017-09-27 16:28:20 +01:00
parent 8771d352d4
commit 2857ed5c35

View file

@ -1018,7 +1018,7 @@ func TestSyncImmutable(t *testing.T) {
fstest.CheckItems(t, r.fremote, file1)
// Modify file data and timestamp on source
file2 := r.WriteFile("existing", "tomato", t2)
file2 := r.WriteFile("existing", "tomatoes", t2)
fstest.CheckItems(t, r.flocal, file2)
fstest.CheckItems(t, r.fremote, file1)