2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-26 20:30:19 +00:00

progress/counter: Fix test for final report call

This commit is contained in:
Michael Eischer 2020-12-06 00:18:50 +01:00 committed by Alexander Neumann
parent e2b0072441
commit 313ad0e32f

View File

@ -22,7 +22,9 @@ func TestCounter(t *testing.T) {
)
report := func(value uint64, total uint64, d time.Duration, final bool) {
finalSeen = true
if final {
finalSeen = true
}
if value < last {
increasing = false
}