add additional test from review feedback
This commit is contained in:
parent
bb05f7991a
commit
507f0c6b24
@ -81,6 +81,7 @@ var tagdecodetests = []testtags{
|
||||
{"", map[string]string{}},
|
||||
{"time=12732;re", map[string]string{"time": "12732", "re": ""}},
|
||||
{"time=12732;re=;asdf=5678", map[string]string{"time": "12732", "re": "", "asdf": "5678"}},
|
||||
{"=these;time=12732;=shouldbe;re=;asdf=5678;=ignored", map[string]string{"time": "12732", "re": "", "asdf": "5678"}},
|
||||
}
|
||||
|
||||
func parseTags(rawTags string) (map[string]string, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user