From 0dc705336e7851f488fdf4e51225d6daf18198ed Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 10 Sep 2018 11:12:22 +0200 Subject: cache: properly parse and clean qualifier with multi word --- cache/query_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cache/query_test.go') 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 { -- cgit