Skip to content

Commit 9ed4946

Browse files
auricomclaude
andcommitted
style(raft): fix gci struct field alignment in node_test.go
gofmt/gci requires minimal alignment; excessive spaces in the TestNewNode_SnapshotConfigApplied struct literal caused a lint failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3d94b75 commit 9ed4946

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/raft/node_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ func TestNodeResignLeader_NotLeaderNoop(t *testing.T) {
128128

129129
func TestNewNode_SnapshotConfigApplied(t *testing.T) {
130130
specs := map[string]struct {
131-
cfg *Config
132-
expectedSnapshotThreshold uint64
133-
expectedTrailingLogs uint64
131+
cfg *Config
132+
expectedSnapshotThreshold uint64
133+
expectedTrailingLogs uint64
134134
}{
135135
"custom values applied": {
136136
cfg: &Config{

0 commit comments

Comments
 (0)