提交 54fa0a69 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #27349 from y-yagi/fix_ruby_warning_in_ruby_2_4

fix new warning in ruby 2.4
......@@ -143,7 +143,7 @@ def drop_tables_directly(table_names, connection = @connection)
end
# custom create table, uses execute on connection to create a table, note: escapes table_name, does NOT escape columns
def create_tables_directly (tables, connection = @connection)
def create_tables_directly(tables, connection = @connection)
tables.each do |table_name, column_properties|
connection.execute("CREATE TABLE `#{table_name}` ( #{column_properties} )")
end
......
......@@ -983,7 +983,7 @@ def test_prune_size_on_write_based_on_key_length
end
def test_pruning_is_capped_at_a_max_time
def @cache.delete_entry (*args)
def @cache.delete_entry(*args)
sleep(0.01)
super
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册