Skip to content

Commit

Permalink
Add a test for "..." (double quoted) string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 19, 2013
1 parent 1e62bc5 commit c99dd57
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
table_create Entries TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Entries title COLUMN_SCALAR ShortText
[[0,0.0,0.0],true]
load --table Entries
[
{"title": "groonga and MySQL"}
]
[[0,0.0,0.0],1]
select Entries --output_columns '_id, "double quoted" + " " + "string value"' --command_version 2
[
[
0,
0.0,
0.0
],
[
[
[
1
],
[
[
"_id",
"UInt32"
],
[
"",
"null"
]
],
[
1,
"double quoted string value"
]
]
]
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
table_create Entries TABLE_NO_KEY
column_create Entries title COLUMN_SCALAR ShortText

load --table Entries
[
{"title": "groonga and MySQL"}
]

select Entries \
--output_columns '_id, "double quoted" + " " + "string value"' \
--command_version 2

0 comments on commit c99dd57

Please sign in to comment.