[Groonga-commit] droonga/grn2drn at 276aa5b [master] test: re-order

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Feb 9 10:15:07 JST 2014


Kouhei Sutou	2014-02-09 10:15:07 +0900 (Sun, 09 Feb 2014)

  New Revision: 276aa5b06f1bd801e842ae743be7493a0044ea68
  https://github.com/droonga/grn2drn/commit/276aa5b06f1bd801e842ae743be7493a0044ea68

  Message:
    test: re-order

  Modified files:
    test/test-converter.rb

  Modified: test/test-converter.rb (+17 -17)
===================================================================
--- test/test-converter.rb    2014-02-09 10:14:44 +0900 (1389b5d)
+++ test/test-converter.rb    2014-02-09 10:15:07 +0900 (00e5b22)
@@ -26,6 +26,23 @@ class ConverterTest < Test::Unit::TestCase
     @converter = Grn2Drn::Converter.new(options)
   end
 
+  private
+  def date
+    Time.utc(2013, 11, 29, 0, 0, 0)
+  end
+
+  def formatted_date
+    "2013-11-29T00:00:00Z"
+  end
+
+  def reply_to
+    "localhost:20033"
+  end
+
+  def dataset
+    "test-dataset"
+  end
+
   class TableCreateTest < self
     def test_table_create
       droonga_commands = []
@@ -219,21 +236,4 @@ column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
                    droonga_commands)
     end
   end
-
-  private
-  def date
-    Time.utc(2013, 11, 29, 0, 0, 0)
-  end
-
-  def formatted_date
-    "2013-11-29T00:00:00Z"
-  end
-
-  def reply_to
-    "localhost:20033"
-  end
-
-  def dataset
-    "test-dataset"
-  end
 end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index