[Groonga-commit] ranguba/rroonga at c158589 [master] test: use meaningful value

Back to archive index

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


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

  New Revision: c1585896b1e6e54b3ba726b2cb22430135747cd5
  https://github.com/ranguba/rroonga/commit/c1585896b1e6e54b3ba726b2cb22430135747cd5

  Message:
    test: use meaningful value

  Modified files:
    test/test-column.rb

  Modified: test/test-column.rb (+2 -2)
===================================================================
--- test/test-column.rb    2014-12-30 15:47:00 +0900 (be41fd9)
+++ test/test-column.rb    2014-12-30 15:47:47 +0900 (21720fa)
@@ -524,8 +524,8 @@ class ColumnTest < Test::Unit::TestCase
       posts = Groonga::Hash.create(:name => "Posts", :key_type => "ShortText")
       posts.define_column("body", "Text")
       body = "This is test."
-      post1 = posts.add("hello1", :body => body)
-      post2 = posts.add("hello2", :body => body)
+      post1 = posts.add("title1", :body => body)
+      post2 = posts.add("title2", :body => body)
 
       assert_equal(body, post1["body"])
       assert_equal(body, post2["body"])
-------------- next part --------------
HTML����������������������������...
Download 



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