@@ -75,29 +75,29 @@ func TestStandardSearchString(t *testing.T) {
7575 out : `topic:"quote qualifier"` ,
7676 },
7777 {
78- name : "respects verbatim keywords" ,
78+ name : "respects immutable keywords" ,
7979 query : Query {
80- KeywordsVerbatim : "verbatim keyword that should be left as is" ,
80+ ImmutableKeywords : "immutable keyword that should be left as is" ,
8181 },
82- out : `verbatim keyword that should be left as is` ,
82+ out : `immutable keyword that should be left as is` ,
8383 },
8484 {
85- name : "respects verbatim keywords, with qualifiers" ,
85+ name : "respects immutable keywords, with qualifiers" ,
8686 query : Query {
87- KeywordsVerbatim : "verbatim keyword that should be left as is" ,
87+ ImmutableKeywords : "immutable keyword that should be left as is" ,
8888 Qualifiers : Qualifiers {
8989 Topic : []string {"quote qualifier" },
9090 },
9191 },
92- out : `verbatim keyword that should be left as is topic:"quote qualifier"` ,
92+ out : `immutable keyword that should be left as is topic:"quote qualifier"` ,
9393 },
9494 {
95- name : "prioritises verbatim keywords over keywords slice" ,
95+ name : "prioritises immutable keywords over keywords slice" ,
9696 query : Query {
97- Keywords : []string {"foo" , "bar" },
98- KeywordsVerbatim : "verbatim keyword" ,
97+ Keywords : []string {"foo" , "bar" },
98+ ImmutableKeywords : "immutable keyword" ,
9999 },
100- out : `verbatim keyword` ,
100+ out : `immutable keyword` ,
101101 },
102102 }
103103 for _ , tt := range tests {
@@ -141,29 +141,29 @@ func TestAdvancedIssueSearchString(t *testing.T) {
141141 out : `label:"quote qualifier"` ,
142142 },
143143 {
144- name : "respects verbatim keywords" ,
144+ name : "respects immutable keywords" ,
145145 query : Query {
146- KeywordsVerbatim : "verbatim keyword that should be left as is" ,
146+ ImmutableKeywords : "immutable keyword that should be left as is" ,
147147 },
148- out : `verbatim keyword that should be left as is` ,
148+ out : `immutable keyword that should be left as is` ,
149149 },
150150 {
151- name : "respects verbatim keywords, with qualifiers" ,
151+ name : "respects immutable keywords, with qualifiers" ,
152152 query : Query {
153- KeywordsVerbatim : "verbatim keyword that should be left as is" ,
153+ ImmutableKeywords : "immutable keyword that should be left as is" ,
154154 Qualifiers : Qualifiers {
155155 Topic : []string {"quote qualifier" },
156156 },
157157 },
158- out : `( verbatim keyword that should be left as is ) topic:"quote qualifier"` ,
158+ out : `( immutable keyword that should be left as is ) topic:"quote qualifier"` ,
159159 },
160160 {
161- name : "prioritises verbatim keywords over keywords slice" ,
161+ name : "prioritises immutable keywords over keywords slice" ,
162162 query : Query {
163- Keywords : []string {"foo" , "bar" },
164- KeywordsVerbatim : "verbatim keyword" ,
163+ Keywords : []string {"foo" , "bar" },
164+ ImmutableKeywords : "immutable keyword" ,
165165 },
166- out : `verbatim keyword` ,
166+ out : `immutable keyword` ,
167167 },
168168 {
169169 name : "unused qualifiers should not appear in query" ,
0 commit comments