moving ParseSelector to Parse for labels only.

This commit is contained in:
Salvatore Dario Minonne
2015-02-25 17:19:10 +01:00
parent 00989f229c
commit 75f2efb500
12 changed files with 189 additions and 151 deletions

View File

@@ -142,7 +142,7 @@ func TestRequestSetTwiceError(t *testing.T) {
}
func TestRequestParseSelectorParam(t *testing.T) {
r := (&Request{}).ParseSelectorParam("foo", "a")
r := (&Request{}).ParseSelectorParam("foo", "a=")
if r.err == nil || r.params != nil {
t.Errorf("should have set err and left params nil: %#v", r)
}