aboutsummaryrefslogtreecommitdiffstats
path: root/query
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-03-22 21:28:10 +0100
committerMichael Muré <batolettre@gmail.com>2022-03-22 21:28:10 +0100
commitc9cec5b17bde94d7e3fd40c71a32d16a936769fa (patch)
treefd3ba4481aa6d5782d88cf1faf6451560fd5e059 /query
parentcac20c8c4dc9524773c1296165fe596cb9035202 (diff)
downloadgit-bug-c9cec5b17bde94d7e3fd40c71a32d16a936769fa.tar.gz
update doc
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/"}}},