Skip to content
代码片段 群组 项目
提交 c96927bc 编辑于 作者: Robert Speicher's avatar Robert Speicher
浏览文件

Merge branch 'rubocop/enable-space-after-method-name-cop' into 'master'

Enable Style/SpaceAfterMethodName rubocop cop

Do not put a space between a method name and the opening parenthesis  in a method definition.

See #17478

See merge request !4359
No related branches found
No related tags found
无相关合并请求
......@@ -541,7 +541,7 @@ Style/SpaceAfterComma:
# Do not put a space between a method name and the opening parenthesis in a
# method definition.
Style/SpaceAfterMethodName:
Enabled: false
Enabled: true
# Tracks redundant space after the ! operator.
Style/SpaceAfterNot:
......
......@@ -567,7 +567,7 @@ def init_diff_note_second_file
click_diff_line(sample_compare.changes[1][:line_code])
end
def have_visible_content (text)
def have_visible_content(text)
have_css("*", text: text, visible: true)
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册