Skip to content

Commit bead679

Browse files
committed
Fix blocking lint issues
Seems like the linter was updated. As a result, builds are currently blocked. Fixes #4623
1 parent 6421bcb commit bead679

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+15
-58
lines changed

api/azure/webhook_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/bsf_handler_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
// Copyright 2020 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/checks/suites_medium_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build medium
2-
// +build medium
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/checks/summaries/actions_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/checks/summaries/compile_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build medium
2-
// +build medium
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/checks/update_medium_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build medium
2-
// +build medium
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/checks/update_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
package checks
54

@@ -10,11 +9,11 @@ import (
109
"strings"
1110
"testing"
1211

13-
"go.uber.org/mock/gomock"
1412
"github.com/stretchr/testify/assert"
1513
"github.com/web-platform-tests/wpt.fyi/api/checks/summaries"
1614
"github.com/web-platform-tests/wpt.fyi/shared"
1715
"github.com/web-platform-tests/wpt.fyi/shared/sharedtest"
16+
"go.uber.org/mock/gomock"
1817
)
1918

2019
func TestGetDiffSummary_Regressed(t *testing.T) {
@@ -156,4 +155,4 @@ func TestCollapseSummary_ManyFiles(t *testing.T) {
156155
"/bar/": summaries.TestBeforeAndAfter{PassingBefore: 20, TotalBefore: 20, PassingAfter: 40, TotalAfter: 60},
157156
"/baz/": summaries.TestBeforeAndAfter{PassingBefore: 20, TotalBefore: 20, PassingAfter: 40, TotalAfter: 60},
158157
}, collapseSummary(diff, 1))
159-
}
158+
}

api/checks/webhook_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
// Copyright 2018 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/ghactions/notify_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build small
2-
// +build small
32

43
// Copyright 2024 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

api/labels_medium_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build medium
2-
// +build medium
32

43
// Copyright 2019 The WPT Dashboard Project. All rights reserved.
54
// Use of this source code is governed by a BSD-style license that can be

0 commit comments

Comments
 (0)