Kouhei Sutou
null+****@clear*****
Fri Jul 15 18:04:00 JST 2016
Kouhei Sutou 2016-07-15 18:04:00 +0900 (Fri, 15 Jul 2016) New Revision: 547479d539651ef64f74fc40ffab63322e4261f1 https://github.com/ranguba/rroonga/commit/547479d539651ef64f74fc40ffab63322e4261f1 Message: test: follow grn_table_setoperation() with ADJUST change Modified files: test/test-table.rb Modified: test/test-table.rb (+1 -1) =================================================================== --- test/test-table.rb 2016-07-15 17:39:23 +0900 (ec6b66a) +++ test/test-table.rb 2016-07-15 18:04:00 +0900 (80643bd) @@ -561,7 +561,7 @@ class TableTest < Test::Unit::TestCase ruby_bookmarks = bookmarks.select {|record| (record["title"] == "Ruby") & (record["title"] == "Ruby") } all_bookmarks = bookmarks.select - assert_equal([["groonga", 1], ["Ruby", 2]], + assert_equal([["groonga", 1.0], ["Ruby", 3.0]], all_bookmarks.merge!(ruby_bookmarks).collect do |record| [record[".title"], record.score] end) -------------- next part -------------- HTML����������������������������... Download