null+****@clear*****
null+****@clear*****
2012年 6月 12日 (火) 14:38:30 JST
HAYASHI Kentaro 2012-06-12 14:38:30 +0900 (Tue, 12 Jun 2012)
New Revision: f95dc90542fbac3b565837ed97e5e342a48553fe
Log:
test: fix to assign the value of distance from csv properly
Modified files:
test/function/tools/geo/generate-grntest-data.rb
Modified: test/function/tools/geo/generate-grntest-data.rb (+5 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb 2012-06-12 13:32:13 +0900 (9edf0e1)
+++ test/function/tools/geo/generate-grntest-data.rb 2012-06-12 14:38:30 +0900 (ab5b298)
@@ -610,7 +610,11 @@ class GrnTestData
else
select_postfix = ", \"#{app_type}\")'\n"
end
- distance = geo_distance(app_type) unless @distance != ""
+ if @distance != ""
+ distance = @distance
+ else
+ distance = geo_distance(app_type)
+ end
[
TABLE_CREATE,
CREATE_RESULT,