From 37e0753472a02f8647b6e98b31512ef6b15f641d Mon Sep 17 00:00:00 2001 From: Eric Rakestraw Date: Sun, 22 Nov 2026 01:45:48 +0000 Subject: [PATCH] Format migrated worker fields in integration fixtures --- .../integration/dnd_combat_runner_test.go | 18 +++++++++--------- .../integration/dnd_npc_grounded_test.go | 16 ++++++++-------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/internal/modules/integration/dnd_combat_runner_test.go b/internal/modules/integration/dnd_combat_runner_test.go index 5cd4cf8a..fc14fe9e 100644 --- a/internal/modules/integration/dnd_combat_runner_test.go +++ b/internal/modules/integration/dnd_combat_runner_test.go @@ -67,9 +67,9 @@ func TestProductionCombatPipelineRetriesMergesNormalizesAndWritesJSON(t *testing } output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{ - Prepared: prepared, - RawInput: readNPCFixture(t), - Workers: 1, + Prepared: prepared, + RawInput: readNPCFixture(t), + Workers: 1, }) if err != nil { t.Fatalf("Run() error = %v, want nil", err) @@ -163,9 +163,9 @@ func TestProductionCombatPipelineAttributesExhaustedInvalidEnumsToShapeValidatio t.Fatalf("Prepare() error = %v, want nil", err) } output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{ - Prepared: prepared, - RawInput: readNPCFixture(t), - Workers: 1, + Prepared: prepared, + RawInput: readNPCFixture(t), + Workers: 1, }) if err != nil { t.Fatalf("Run() error = %v, want non-fatal rejected output", err) @@ -210,9 +210,9 @@ func TestCombatPipelinePublishesUnavailableSceneWarningForMismatchedReference(t t.Fatalf("Prepare() error = %v", err) } output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{ - Prepared: prepared, - RawInput: readNPCFixture(t), - Workers: 1, + Prepared: prepared, + RawInput: readNPCFixture(t), + Workers: 1, }) if err != nil { t.Fatalf("Run() error = %v", err) diff --git a/internal/modules/integration/dnd_npc_grounded_test.go b/internal/modules/integration/dnd_npc_grounded_test.go index 3961444b..20c44d86 100644 --- a/internal/modules/integration/dnd_npc_grounded_test.go +++ b/internal/modules/integration/dnd_npc_grounded_test.go @@ -79,10 +79,10 @@ func TestNPCOutputGroundsSpellAndCombatConsumersThroughOneOperation(t *testing.T } checkpoint := newGeneratedReferenceCheckpointLoader() output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{ - Prepared: prepared, - RawInput: readNPCFixture(t), - Workers: 1, - Checkpoint: checkpoint, + Prepared: prepared, + RawInput: readNPCFixture(t), + Workers: 1, + Checkpoint: checkpoint, }) if err != nil { t.Fatalf("Run() error = %v", err) @@ -471,10 +471,10 @@ func runGroundedPipelineWithRaw(t *testing.T, configValue config.Config, registr t.Fatalf("Prepare() error = %v", err) } output, err := pipeline.New().Run(context.Background(), pipeline.RunInput{ - Prepared: prepared, - RawInput: append([]byte(nil), raw...), - Workers: 1, - Checkpoint: checkpoint, + Prepared: prepared, + RawInput: append([]byte(nil), raw...), + Workers: 1, + Checkpoint: checkpoint, }) if err != nil { t.Fatalf("Run() error = %v", err)