Skip to content

Commit cd7e222

Browse files
committed
fix(frost/roast): gofmt the TestAttemptState_String table
The map-literal column alignment in the CI's gofmt -s pass differs from my local alignment; gofmt prefers a single space between the longest key and the value. Apply the formatter's preference so client-format passes. Pure formatting change. No behaviour change.
1 parent 7f59fc4 commit cd7e222

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/frost/roast/coordinator_state_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,12 @@ func TestInMemoryCoordinator_ConcurrentBeginAttemptsAreRaceSafe(t *testing.T) {
248248

249249
func TestAttemptState_String(t *testing.T) {
250250
cases := map[AttemptState]string{
251-
AttemptStatePending: "pending",
252-
AttemptStateCollecting: "collecting",
253-
AttemptStateAggregating: "aggregating",
254-
AttemptStateSucceeded: "succeeded",
255-
AttemptStateTransitioned: "transitioned",
256-
AttemptState(99): "unknown(99)",
251+
AttemptStatePending: "pending",
252+
AttemptStateCollecting: "collecting",
253+
AttemptStateAggregating: "aggregating",
254+
AttemptStateSucceeded: "succeeded",
255+
AttemptStateTransitioned: "transitioned",
256+
AttemptState(99): "unknown(99)",
257257
}
258258
for state, want := range cases {
259259
if got := state.String(); got != want {

0 commit comments

Comments
 (0)