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 package main
import ( import (
"bufio"
"log" "log"
"os"
"testing" "testing"
"time" "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()) 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 { if files != 2 {
t.Errorf("expected: %d, got: %d\n", 2, files) t.Errorf("expected: %d, got: %d\n", 2, files)
} }