aboutsummaryrefslogtreecommitdiffstats
path: root/cache/query_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-10 11:12:22 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-10 11:12:22 +0200
commit0dc705336e7851f488fdf4e51225d6daf18198ed (patch)
tree0725fee48ca75a3924d42c284cbb9997d7f54342 /cache/query_test.go
parent71bee1e68c414fca14b4f36d6fccbe0af693a712 (diff)
downloadgit-bug-0dc705336e7851f488fdf4e51225d6daf18198ed.tar.gz
cache: properly parse and clean qualifier with multi word
Diffstat (limited to 'cache/query_test.go')
-rw-r--r--cache/query_test.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cache/query_test.go b/cache/query_test.go
index 24d80035..646a6d73 100644
--- a/cache/query_test.go
+++ b/cache/query_test.go
@@ -16,9 +16,13 @@ func TestQueryParse(t *testing.T) {
{"status:unknown", false},
{"author:rene", true},
- // Todo: fix parsing
- // {"author:\"Rene Descartes\"", true},
+ {"author:\"René Descartes\"", true},
+ {"label:hello", true},
+ {"label:\"Good first issue\"", true},
+
+ {"sort:edit", true},
+ {"sort:unknown", false},
}
for _, test := range tests {