test/command/suite/select/function/snippet/twice_keyword.test
raw| 1 | table_create Entries TABLE_NO_KEY |
| 2 | column_create Entries content COLUMN_SCALAR ShortText |
| 3 | |
| 4 | load --table Entries |
| 5 | [ |
| 6 | {"content": "groonga and MySQL and PosrgreSQL"} |
| 7 | ] |
| 8 | |
| 9 | select Entries \ |
| 10 | --output_columns ' \ |
| 11 | snippet(content, \ |
| 12 | "SQL", "<span class=\\"keyword1\\">", "</span>", \ |
| 13 | "groonga", "<span class=\\"keyword2\\">", "</span>", \ |
| 14 | {"prefix": "..."} \ |
| 15 | )' |