Browse Source

Remove duplicate test in labels_test.go (#7461)

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
pull/7453/head
Chris Marchbanks 4 years ago committed by GitHub
parent
commit
ec45e3d029
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/labels/labels_test.go

4
pkg/labels/labels_test.go

@ -562,10 +562,6 @@ func TestLabels_WithoutLabels(t *testing.T) {
testutil.Equals(t, Labels{{"aaa", "111"}}, Labels{{"aaa", "111"}, {"bbb", "222"}, {MetricName, "333"}}.WithoutLabels("bbb")) testutil.Equals(t, Labels{{"aaa", "111"}}, Labels{{"aaa", "111"}, {"bbb", "222"}, {MetricName, "333"}}.WithoutLabels("bbb"))
} }
func TestLabels_FromStrings(t *testing.T) {
testutil.Equals(t, Labels{{"aaa", "111"}, {"bbb", "222"}}, FromStrings("aaa", "111", "bbb", "222"))
}
func TestBulider_NewBulider(t *testing.T) { func TestBulider_NewBulider(t *testing.T) {
testutil.Equals( testutil.Equals(
t, t,

Loading…
Cancel
Save