2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-25 04:05:58 +00:00

Correct log statement

This commit is contained in:
Alexander Neumann 2016-05-08 13:09:36 +02:00
parent 7faf272996
commit 43f7a1fcd9

View File

@ -31,7 +31,7 @@ func TestCreateSnapshot(t *testing.T) {
sn := snapshots[0] sn := snapshots[0]
if sn.Time.Before(testSnapshotTime) || sn.Time.After(testSnapshotTime.Add(testCreateSnapshots*time.Second)) { if sn.Time.Before(testSnapshotTime) || sn.Time.After(testSnapshotTime.Add(testCreateSnapshots*time.Second)) {
t.Fatalf("timestamp %v is outside of the allowed time range", sn.Time, testSnapshotTime) t.Fatalf("timestamp %v is outside of the allowed time range", sn.Time)
} }
if sn.Tree == nil { if sn.Tree == nil {