[Groonga-commit] ranguba/rroonga at 6155b3a [master] test: remove needless code

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Dec 30 15:43:32 JST 2014


Kouhei Sutou	2014-12-30 15:43:32 +0900 (Tue, 30 Dec 2014)

  New Revision: 6155b3a92a9e4043426dbbc94451313c215eea64
  https://github.com/ranguba/rroonga/commit/6155b3a92a9e4043426dbbc94451313c215eea64

  Message:
    test: remove needless code

  Modified files:
    test/test-column.rb

  Modified: test/test-column.rb (+1 -2)
===================================================================
--- test/test-column.rb    2014-12-30 15:42:49 +0900 (25119ee)
+++ test/test-column.rb    2014-12-30 15:43:32 +0900 (e0cb6be)
@@ -530,8 +530,7 @@ class ColumnTest < Test::Unit::TestCase
       assert_equal(article, post1["article"])
       assert_equal(article, post2["article"])
 
-      @posts = context["Posts"]
-      @posts.column("article").truncate
+      posts.column("article").truncate
 
       assert_nil(post1["article"])
       assert_nil(post2["article"])
-------------- next part --------------
HTML����������������������������...
下载 



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