Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit881cd6a

Browse files
committed
Fixing lints
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent92be1d6 commit881cd6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎coderd/agentmetrics/labels_test.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ package agentmetrics_test
33
import (
44
"testing"
55

6-
"github.com/coder/coder/v2/coderd/agentmetrics"
76
"github.com/stretchr/testify/require"
7+
8+
"github.com/coder/coder/v2/coderd/agentmetrics"
89
)
910

1011
funcTestValidateAggregationLabels(t*testing.T) {
12+
t.Parallel()
13+
1114
tests:= []struct {
1215
namestring
1316
labels []string
@@ -36,6 +39,8 @@ func TestValidateAggregationLabels(t *testing.T) {
3639
}
3740

3841
for_,tc:=rangetests {
42+
tc:=tc
43+
3944
t.Run(tc.name,func(t*testing.T) {
4045
t.Parallel()
4146

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp