aboutsummaryrefslogtreecommitdiffstats
path: root/query
diff options
context:
space:
mode:
Diffstat (limited to 'query')
-rw-r--r--query/parser_test.go4
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/"}}},