Make test more reliable

This commit is contained in:
Nick Craig-Wood 2016-04-18 17:48:52 +01:00
parent dd36264aad
commit b5cba73cc3

View File

@ -436,6 +436,7 @@ func TestSyncIgnoreTimes(t *testing.T) {
r := NewRun(t)
defer r.Finalise()
file1 := r.WriteBoth("existing", "potato", t1)
fstest.CheckItems(t, r.fremote, file1)
fs.Stats.ResetCounters()
err := fs.Sync(r.fremote, r.flocal)