diff --git a/archive_test.go b/archive_test.go index 0e335d0..2fce092 100644 --- a/archive_test.go +++ b/archive_test.go @@ -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) }