[Groonga-commit] groonga/groonga [master] use more meaningful test value.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 1月 5日 (水) 16:56:00 JST


Kouhei Sutou	2011-01-05 07:56:00 +0000 (Wed, 05 Jan 2011)

  New Revision: 1e4c279884e32d5d2c85e6f899718299ff4153ce

  Log:
    use more meaningful test value.

  Modified files:
    test/unit/grntest/test-out-http.rb

  Modified: test/unit/grntest/test-out-http.rb (+5 -3)
===================================================================
--- test/unit/grntest/test-out-http.rb    2011-01-05 07:08:04 +0000 (0916e27)
+++ test/unit/grntest/test-out-http.rb    2011-01-05 07:56:00 +0000 (dfa2b95)
@@ -85,7 +85,7 @@ class GrnTestOutHTTPTest < Test::Unit::TestCase
   end
 
   def test_test_http_diff
-    command = 'select Shops --sortby _id --limit 3 --output_columns "name"'
+    command = 'select Shops --sortby _id --limit 5 --output_columns "name"'
     command_file = tempfile("command") do |file|
       file.puts(command)
     end
@@ -93,8 +93,8 @@ class GrnTestOutHTTPTest < Test::Unit::TestCase
       '[[0,1290511592.67556,0.00068249],' +
       '[[[36],' +
       '[["name","ShortText"]],' +
-      '["根津のたいやき"],' +
       '["たい焼 カタオカ"],' +
+      '["根津のたいやき"],' +
       '["そばたいやき空"],' +
       '["車"],' +
       '["広瀬屋"]]]]'
@@ -104,7 +104,9 @@ class GrnTestOutHTTPTest < Test::Unit::TestCase
       '[["name","ShortText"]],' +
       '["根津のたいやき"],' +
       '["たい焼 カタオカ"],' +
-      '["そばたいやき空"]]]]'
+      '["そばたいやき空"],' +
+      '["車"],' +
+      '["広瀬屋"]]]]'
     expected_file = tempfile("expected") do |file|
       file.puts(expected)
     end




Groonga-commit メーリングリストの案内
Back to archive index