diff options
Diffstat (limited to 'query/parser_test.go')
-rw-r--r-- | query/parser_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/query/parser_test.go b/query/parser_test.go index cef01ffd..f71a7b42 100644 --- a/query/parser_test.go +++ b/query/parser_test.go @@ -62,6 +62,10 @@ func TestParse(t *testing.T) { }}, {"sort:unknown", nil}, + {"label:\"foo:bar\"", &Query{ + Filters: Filters{Label: []string{"foo:bar"}}, + }}, + // KVV {`metadata:key:"https://www.example.com/"`, &Query{ Filters: Filters{Metadata: []StringPair{{"key", "https://www.example.com/"}}}, |