diff --git a/label/storage_test.go b/label/storage_test.go index a941a7e6dc..653413a1fc 100644 --- a/label/storage_test.go +++ b/label/storage_test.go @@ -221,13 +221,14 @@ func TestLabels(t *testing.T) { } if len(l) != 9 { - t.Fatalf("expected 2 labels, got: %d", len(l)) + t.Fatalf("expected 9 labels, got: %d", len(l)) } }, }, } - for _, testScenario := range tt { + for _, ts := range tt { + testScenario := ts t.Run(testScenario.name, func(t *testing.T) { t.Parallel()