aboutsummaryrefslogtreecommitdiffstats
path: root/cache/query_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/query_test.go')
-rw-r--r--cache/query_test.go5
1 files changed, 3 insertions, 2 deletions
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},