Kosuke Asami
null+****@clear*****
Wed Jan 13 17:30:12 JST 2016
Kosuke Asami 2013-07-16 13:19:30 +0900 (Tue, 16 Jul 2013) New Revision: 857fddd9dcace5e8211cb8252cc5bde537103d19 https://github.com/groonga/groonga-command/commit/857fddd9dcace5e8211cb8252cc5bde537103d19 Message: test: add keyword arguments support to "parse" method of test-column-create Modified files: test/command/test-column-create.rb Modified: test/command/test-column-create.rb (+2 -2) =================================================================== --- test/command/test-column-create.rb 2013-07-14 16:29:34 +0900 (cb5fbce) +++ test/command/test-column-create.rb 2013-07-16 13:19:30 +0900 (a4d5ea1) @@ -27,7 +27,7 @@ class ColumnCreateCommandTest < Test::Unit::TestCase type = "Posts" source = "content" - command = parse(table, name, flags, type, source) + command = parse([table, name, flags, type, source]) assert_instance_of(Groonga::Command::ColumnCreate, command) assert_equal({ :table => table, @@ -40,7 +40,7 @@ class ColumnCreateCommandTest < Test::Unit::TestCase end private - def parse(*arguments) + def parse(arguments) super("column_create", arguments, :output_type => false) end end -------------- next part -------------- HTML����������������������������...Download