Fix formatting in TestBuildCommand_ParseArgs and add newline at end of json_enforced_test.go

feature/enforcedProvisioner
Hari Om 4 weeks ago
parent 47fbe18c87
commit c7d5d55f37

@ -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,
},

@ -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"])
}
}
}

Loading…
Cancel
Save