Skip to content

Commit 75227f4

Browse files
committed
linter
1 parent c77c7ec commit 75227f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/cmd/run/view/view_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ func Test_attachRunLog(t *testing.T) {
883883
name: "matching job name and step number 1",
884884
job: shared.Job{
885885
Name: "cool job",
886-
Steps: []shared.Step{shared.Step{
886+
Steps: []shared.Step{{
887887
Name: "fob the barz",
888888
Number: 1,
889889
}},
@@ -895,7 +895,7 @@ func Test_attachRunLog(t *testing.T) {
895895
name: "matching job name and step number 2",
896896
job: shared.Job{
897897
Name: "cool job",
898-
Steps: []shared.Step{shared.Step{
898+
Steps: []shared.Step{{
899899
Name: "barz the fob",
900900
Number: 2,
901901
}},
@@ -907,7 +907,7 @@ func Test_attachRunLog(t *testing.T) {
907907
name: "matching job name and step number and mismatch step name",
908908
job: shared.Job{
909909
Name: "cool job",
910-
Steps: []shared.Step{shared.Step{
910+
Steps: []shared.Step{{
911911
Name: "mismatch",
912912
Number: 1,
913913
}},
@@ -919,7 +919,7 @@ func Test_attachRunLog(t *testing.T) {
919919
name: "matching job name and mismatch step number",
920920
job: shared.Job{
921921
Name: "cool job",
922-
Steps: []shared.Step{shared.Step{
922+
Steps: []shared.Step{{
923923
Name: "fob the barz",
924924
Number: 3,
925925
}},
@@ -930,7 +930,7 @@ func Test_attachRunLog(t *testing.T) {
930930
name: "mismatching job name",
931931
job: shared.Job{
932932
Name: "mismatch",
933-
Steps: []shared.Step{shared.Step{
933+
Steps: []shared.Step{{
934934
Name: "fob the barz",
935935
Number: 1,
936936
}},

0 commit comments

Comments
 (0)