package game
import "testing"
// mustLoadOpen is the test-side loadOpen: a journal fold failure is a test
// failure, not a nil slice to accidentally treat as "nothing open".
func (j *economyJournal) mustLoadOpen(t *testing.T) []*economyRecord {
t.Helper()
open, err := j.loadOpen()
if err != nil {
t.Fatalf("loadOpen: %v", err)
}
return open
}