aboutsummaryrefslogtreecommitdiffstats
path: root/cache/query_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-10 12:47:05 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-10 12:47:05 +0200
commitc8239a990b9babe071f08b78ad0195f01550d628 (patch)
treecce35c80f584a66fde4b659b5be15857e1b2e6d4 /cache/query_test.go
parentece9e39461bb40df979c22092873eff014fc1648 (diff)
downloadgit-bug-c8239a990b9babe071f08b78ad0195f01550d628.tar.gz
cache: doc & cleaning
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},