[Groonga-commit] ranguba/rroonga at 323d802 [master] test: remove unused variables

Back to archive index

Masafumi Yokoyama null+****@clear*****
Fri Feb 13 19:48:42 JST 2015


Masafumi Yokoyama	2015-02-13 19:48:42 +0900 (Fri, 13 Feb 2015)

  New Revision: 323d8023217872c7112d25555a171bf229c59a97
  https://github.com/ranguba/rroonga/commit/323d8023217872c7112d25555a171bf229c59a97

  Message:
    test: remove unused variables

  Modified files:
    test/test-table-group.rb

  Modified: test/test-table-group.rb (+12 -12)
===================================================================
--- test/test-table-group.rb    2015-02-13 19:12:34 +0900 (6fc51fe)
+++ test/test-table-group.rb    2015-02-13 19:48:42 +0900 (bf09ace)
@@ -217,18 +217,18 @@ class TableGroupTest < Test::Unit::TestCase
 
     def setup_memos
       @memos = Groonga["Memos"]
-      @memo1 =****@memos*****("Groonga1",
-                          :tag => "Groonga",
-                          :priority => 10)
-      @memo2 =****@memos*****("Groonga2",
-                          :tag => "Groonga",
-                          :priority => 20)
-      @memo3 =****@memos*****("Mroonga1",
-                          :tag => "Mroonga",
-                          :priority => 10)
-      @memo4 =****@memos*****("Mroonga2",
-                          :tag => "Mroonga",
-                          :priority => 10)
+      @memos.add("Groonga1",
+                 :tag => "Groonga",
+                 :priority => 10)
+      @memos.add("Groonga2",
+                 :tag => "Groonga",
+                 :priority => 20)
+      @memos.add("Mroonga1",
+                 :tag => "Mroonga",
+                 :priority => 10)
+      @memos.add("Mroonga2",
+                 :tag => "Mroonga",
+                 :priority => 10)
     end
 
     def test_two_keys
-------------- next part --------------
HTML����������������������������...
Download 



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