diff options
| author | historia <[not public]> | 2026-10-01 18:36:36 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-01 18:36:36 -0400 |
| commit | 8a94f21bd47c0a00bc415395232dba22fa958837 (patch) | |
| tree | 3dc9492913315ac98b6eddaec4605e4344cde7d6 /internal/game/tick_systems_test.go | |
| parent | 4e2a95503e4ea4c830510f5aea23fac7948ddc41 (diff) | |
| download | thehouseoficarus-8a94f21bd47c0a00bc415395232dba22fa958837.tar.gz | |
remove: slop docs
Diffstat (limited to 'internal/game/tick_systems_test.go')
| -rw-r--r-- | internal/game/tick_systems_test.go | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/internal/game/tick_systems_test.go b/internal/game/tick_systems_test.go index 82028d6..a701fd7 100644 --- a/internal/game/tick_systems_test.go +++ b/internal/game/tick_systems_test.go @@ -13,8 +13,8 @@ import ( ) // expectedTickSystemOrder is the canonical per-tick system sequence. It MUST -// stay in sync with tickSystemOrder in tick_systems.go and with -// dev_guide/tick_order.md. Updating one without the others is a bug. +// stay in sync with tickSystemOrder in tick_systems.go. Updating one without +// the other is a bug. // // The list is intentionally spelled out here (rather than derived from // tickSystemOrder) so the test fails loudly when someone reorders, adds, or @@ -48,17 +48,16 @@ var expectedTickSystemOrder = []string{ // TestTickSystemOrder asserts the canonical per-tick system sequence matches // the documented order exactly. This is the regression guard referenced in -// dev_guide/tick_order.md and in the master subscriber doc comment in -// cmd/thoi/main.go. +// the master subscriber doc comment in cmd/thoi/main.go. func TestTickSystemOrder(t *testing.T) { got := TickSystemOrder() if len(got) != len(expectedTickSystemOrder) { - t.Fatalf("tick system count changed: got %d, want %d (update expectedTickSystemOrder and dev_guide/tick_order.md)", + t.Fatalf("tick system count changed: got %d, want %d (update expectedTickSystemOrder)", len(got), len(expectedTickSystemOrder)) } for i, want := range expectedTickSystemOrder { if got[i].Name != want { - t.Errorf("tick system %d: got %q, want %q (reordered? update dev_guide/tick_order.md)", + t.Errorf("tick system %d: got %q, want %q (reordered?)", i, got[i].Name, want) } } |
