- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAddLabel (0.09 sec)
-
pkg/util/labels/labels_test.go
} // now test the inverse. got_rm := CloneAndRemoveLabel(got, tc.labelKey) if !reflect.DeepEqual(got_rm, tc.labels) { t.Errorf("[RM] got %v, want %v", got_rm, tc.labels) } } } func TestAddLabel(t *testing.T) { labels := map[string]string{ "foo1": "bar1", "foo2": "bar2", "foo3": "bar3", } cases := []struct { labels map[string]string labelKey string labelValue string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 4.1K bytes - Viewed (0)