Navigation Menu

Skip to content

Commit

Permalink
test functional: use meaningful name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 2, 2012
1 parent 4f7aa3b commit 71d4d30
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
14 changes: 7 additions & 7 deletions test/function/suite/load/command-after-invalid-load.expected
@@ -1,14 +1,14 @@
table_create Hoge TABLE_HASH_KEY ShortText
table_create Shops TABLE_HASH_KEY ShortText
[[0,0.0,0.0],true]
column_create Hoge point COLUMN_SCALAR WGS84GeoPoint
column_create Shops location COLUMN_SCALAR WGS84GeoPoint
[[0,0.0,0.0],true]
column_create Hoge text COLUMN_SCALAR ShortText
[[0,0.0,0.0],true]
load --table Hoge
load --table Shops
[
{"_key":"a","point":"x","text":"a0000000"}
{"_key":"Tokyo","location":"x"}
]
[[0,0.0,0.0],1]
#|e| <Shops.location>: failed to cast to <WGS84GeoPoint>: <"x">
#|e| [table][load] failed to set column value: <Shops.location>: failed to cast to <WGS84GeoPoint>: <"x">: key: <"Tokyo">, column: <location>, value: <"x">
table_list
[
[
Expand Down Expand Up @@ -45,7 +45,7 @@ table_list
],
[
256,
"Hoge",
"Shops",
"tmp/db.0000100",
"TABLE_HASH_KEY|PERSISTENT",
"ShortText",
Expand Down
9 changes: 4 additions & 5 deletions test/function/suite/load/command-after-invalid-load.test
@@ -1,8 +1,7 @@
table_create Hoge TABLE_HASH_KEY ShortText
column_create Hoge point COLUMN_SCALAR WGS84GeoPoint
column_create Hoge text COLUMN_SCALAR ShortText
load --table Hoge
table_create Shops TABLE_HASH_KEY ShortText
column_create Shops location COLUMN_SCALAR WGS84GeoPoint
load --table Shops
[
{"_key":"a","point":"x","text":"a0000000"}
{"_key":"Tokyo","location":"x"}
]
table_list

0 comments on commit 71d4d30

Please sign in to comment.