Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/235477
Change subject: Fixed Style/SpaceInsideHashLiteralBraces RuboCop offense
......................................................................
Fixed Style/SpaceInsideHashLiteralBraces RuboCop offense
Bug: T111184
Change-Id: I77573a78136dc9a8fd6f8b7364e23c8bf6db5e7f
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/math_steps.rb
2 files changed, 1 insertion(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math
refs/changes/77/235477/1
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 95d1b57..b572acb 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -6,12 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
-# Offense count: 2
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles.
-Style/SpaceInsideHashLiteralBraces:
- EnforcedStyle: no_space
-
# Offense count: 13
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
diff --git a/tests/browser/features/step_definitions/math_steps.rb
b/tests/browser/features/step_definitions/math_steps.rb
index 1c55cc2..f63befe 100644
--- a/tests/browser/features/step_definitions/math_steps.rb
+++ b/tests/browser/features/step_definitions/math_steps.rb
@@ -11,7 +11,7 @@
#
Given(/^I am at page that does not exist$/) do
- visit(DoesNotExistPage, using_params: {page_name: @random_string})
+ visit(DoesNotExistPage, using_params: { page_name: @random_string })
end
When(/^I click link Create source$/) do
--
To view, visit https://gerrit.wikimedia.org/r/235477
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I77573a78136dc9a8fd6f8b7364e23c8bf6db5e7f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits