From c8239a990b9babe071f08b78ad0195f01550d628 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 10 Sep 2018 12:47:05 +0200 Subject: cache: doc & cleaning --- cache/query_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cache/query_test.go') diff --git a/cache/query_test.go b/cache/query_test.go index 646a6d73..29d2f585 100644 --- a/cache/query_test.go +++ b/cache/query_test.go @@ -3,6 +3,7 @@ package cache import "testing" func TestQueryParse(t *testing.T) { + var tests = []struct { input string ok bool @@ -16,10 +17,10 @@ func TestQueryParse(t *testing.T) { {"status:unknown", false}, {"author:rene", true}, - {"author:\"René Descartes\"", true}, + {`author:"René Descartes"`, true}, {"label:hello", true}, - {"label:\"Good first issue\"", true}, + {`label:"Good first issue"`, true}, {"sort:edit", true}, {"sort:unknown", false}, -- cgit