From c7d5d55f37b1de40ac36fd1ff91869b58acaeb2b Mon Sep 17 00:00:00 2001 From: Hari Om Date: Wed, 15 Apr 2026 14:23:56 +0530 Subject: [PATCH] Fix formatting in TestBuildCommand_ParseArgs and add newline at end of json_enforced_test.go --- command/build_test.go | 8 ++++---- internal/hcp/registry/json_enforced_test.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/command/build_test.go b/command/build_test.go index 5cd9bdbcd..70425c666 100644 --- a/command/build_test.go +++ b/command/build_test.go @@ -1134,10 +1134,10 @@ func TestBuildCommand_ParseArgs(t *testing.T) { {fields{defaultMeta}, args{[]string{"-skip-enforcement", "file.json"}}, &BuildArgs{ - MetaArgs: MetaArgs{Path: "file.json"}, - ParallelBuilds: math.MaxInt64, - Color: true, - SkipEnforcement: true, + MetaArgs: MetaArgs{Path: "file.json"}, + ParallelBuilds: math.MaxInt64, + Color: true, + SkipEnforcement: true, }, 0, }, diff --git a/internal/hcp/registry/json_enforced_test.go b/internal/hcp/registry/json_enforced_test.go index 4ad468b2c..1d3e24b67 100644 --- a/internal/hcp/registry/json_enforced_test.go +++ b/internal/hcp/registry/json_enforced_test.go @@ -122,4 +122,4 @@ func TestJSONRegistry_InjectEnforcedProvisioners_RespectsOnlyExcept(t *testing.T if provisionerCounts["other"] != 0 { t.Fatalf("other build provisioner count = %d, want 0", provisionerCounts["other"]) } -} \ No newline at end of file +}