mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
gofmt
This commit is contained in:
parent
8484985124
commit
66ae15cfc5
2 changed files with 8 additions and 8 deletions
|
@ -18,11 +18,11 @@ func TestEvaluate(t *testing.T) {
|
|||
Workflow: &model.Workflow{
|
||||
Name: "test-workflow",
|
||||
Jobs: map[string]*model.Job{
|
||||
"job1": &model.Job{
|
||||
"job1": {
|
||||
Strategy: &model.Strategy{
|
||||
Matrix: map[string][]interface{}{
|
||||
"os": []interface{}{"Linux", "Windows"},
|
||||
"foo": []interface{}{"bar", "baz"},
|
||||
"os": {"Linux", "Windows"},
|
||||
"foo": {"bar", "baz"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -34,7 +34,7 @@ func TestEvaluate(t *testing.T) {
|
|||
"foo": "bar",
|
||||
},
|
||||
StepResults: map[string]*stepResult{
|
||||
"id1": &stepResult{
|
||||
"id1": {
|
||||
Outputs: map[string]string{
|
||||
"foo": "bar",
|
||||
},
|
||||
|
@ -106,7 +106,7 @@ func TestInterpolate(t *testing.T) {
|
|||
Workflow: &model.Workflow{
|
||||
Name: "test-workflow",
|
||||
Jobs: map[string]*model.Job{
|
||||
"job1": &model.Job{},
|
||||
"job1": {},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue