aboutsummaryrefslogtreecommitdiff
path: root/internal/game/economy_journal_test_helpers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/economy_journal_test_helpers_test.go')
-rw-r--r--internal/game/economy_journal_test_helpers_test.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/internal/game/economy_journal_test_helpers_test.go b/internal/game/economy_journal_test_helpers_test.go
deleted file mode 100644
index e65c622..0000000
--- a/internal/game/economy_journal_test_helpers_test.go
+++ /dev/null
@@ -1,14 +0,0 @@
-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
-}