mirror of
https://github.com/octoleo/restic.git
synced 2024-12-24 11:55:28 +00:00
Correct log statement
This commit is contained in:
parent
7faf272996
commit
43f7a1fcd9
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user