From b26810ef8890237ca76e02f0997c38b05b82d0b4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 27 Dec 2025 14:47:55 +0000 Subject: [PATCH] style: format builder_test.go struct field alignment Apply gofmt formatting to align struct field declarations consistently. --- internal/dag/builder_test.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/dag/builder_test.go b/internal/dag/builder_test.go index 1fa216c..d58acd9 100644 --- a/internal/dag/builder_test.go +++ b/internal/dag/builder_test.go @@ -10,17 +10,17 @@ import ( func TestBuildFromJobs(t *testing.T) { tests := []struct { - name string - jobs map[string]workflow.Job - wantErr error - wantNodes int - validateFn func(*Graph) error + name string + jobs map[string]workflow.Job + wantErr error + wantNodes int + validateFn func(*Graph) error }{ { name: "simple linear dependency", jobs: map[string]workflow.Job{ - "build": {}, - "test": {Needs: []string{"build"}}, + "build": {}, + "test": {Needs: []string{"build"}}, "deploy": {Needs: []string{"test"}}, }, wantNodes: 3, @@ -155,11 +155,11 @@ func TestBuildFromJobs(t *testing.T) { func TestResolveWithDependencies(t *testing.T) { tests := []struct { - name string - jobs map[string]workflow.Job - targetJob string - wantJobs []string // jobs that should be in result (order may vary) - wantErr error + name string + jobs map[string]workflow.Job + targetJob string + wantJobs []string // jobs that should be in result (order may vary) + wantErr error }{ { name: "job with no dependencies",