(t *testing.T)
| 70 | } |
| 71 | |
| 72 | func TestDistributionSourceLabelKey(t *testing.T) { |
| 73 | expected := labels.LabelDistributionSource + ".testsource" |
| 74 | if got := distributionSourceLabelKey("testsource"); !reflect.DeepEqual(got, expected) { |
| 75 | t.Fatalf("expected %v, but got %v", expected, got) |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func TestCommonPrefixComponents(t *testing.T) { |
| 80 | for _, tc := range []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…