Update archive_test.go

This commit is contained in:
Jan Eitzinger 2023-08-22 15:33:19 +02:00
parent 04cf55534f
commit eb5b22e3d5

View File

@ -1,7 +1,9 @@
package main
import (
"bufio"
"log"
"os"
"testing"
"time"
)
@ -23,6 +25,8 @@ func TestFromCheckpoint(t *testing.T) {
log.Printf("Checkpoints loaded (%d files, %d MB, that took %fs)\n", files, loadedData, time.Since(startupTime).Seconds())
}
m.DebugDump(bufio.NewWriter(os.Stdout), nil)
if files != 2 {
t.Errorf("expected: %d, got: %d\n", 2, files)
}