diff options
author | Michael Muré <batolettre@gmail.com> | 2022-03-22 21:28:10 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-03-22 21:28:10 +0100 |
commit | c9cec5b17bde94d7e3fd40c71a32d16a936769fa (patch) | |
tree | fd3ba4481aa6d5782d88cf1faf6451560fd5e059 /query | |
parent | cac20c8c4dc9524773c1296165fe596cb9035202 (diff) | |
download | git-bug-c9cec5b17bde94d7e3fd40c71a32d16a936769fa.tar.gz |
update doc
Diffstat (limited to 'query')
-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/"}}}, |