Kouhei Sutou
null+****@clear*****
Sat Nov 5 16:28:54 JST 2016
Kouhei Sutou 2016-11-05 16:28:54 +0900 (Sat, 05 Nov 2016) New Revision: fab9a705ef93572dc6d5edae343bb8ce260733e4 https://github.com/ranguba/rroonga/commit/fab9a705ef93572dc6d5edae343bb8ce260733e4 Message: test: use Context#[] as the other tests do Modified files: test/test-index-column.rb Modified: test/test-index-column.rb (+3 -2) =================================================================== --- test/test-index-column.rb 2016-11-05 16:28:31 +0900 (b98f7cb) +++ test/test-index-column.rb 2016-11-05 16:28:54 +0900 (2ede2e3) @@ -432,8 +432,9 @@ class IndexColumnTest < Test::Unit::TestCase :key_type => "ShortText") message = ":size must be nil, :small or :medium: <invalid>" assert_raise(ArgumentError.new(message)) do - tags = Groonga["Tags"] - tags.define_index_column("small", Groonga["Articles"], + tags = context["Tags"] + tags.define_index_column("small", + contet["Articles"], :size => "invalid") end end -------------- next part -------------- HTML����������������������������...Download