We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3c788c6 + fb69364 commit a21c68eCopy full SHA for a21c68e
tags_test.go
@@ -15,7 +15,6 @@ func TestTagsToMap(t *testing.T) {
15
expected map[string]string
16
}{
17
{"empty tags", "", nil, map[string]string{}},
18
- {"host is added", "x", nil, map[string]string{"host": "x"}},
19
{"1 tag is added", "", []string{"a:b"}, map[string]string{"a": "b"}},
20
{"2 tags are added", "", []string{"a:b", "c:d"}, map[string]string{"a": "b", "c": "d"}},
21
{"missing keys are handled", "", []string{"b", "c:d"}, map[string]string{"unknown": "b", "c": "d"}},
0 commit comments