Zfilipin has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/235476

Change subject: Fixed Style/SpaceAroundOperators RuboCop offense
......................................................................

Fixed Style/SpaceAroundOperators RuboCop offense

Bug: T111184
Change-Id: I442e5be94459d5a8bb497edad9fca900c4066ba1
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/math_steps.rb
2 files changed, 1 insertion(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/76/235476/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 165d958..95d1b57 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -6,13 +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: 1
-# Cop supports --auto-correct.
-# Configuration parameters: MultiSpaceAllowedForOperators.
-Style/SpaceAroundOperators:
-  Exclude:
-    - 'tests/browser/features/step_definitions/math_steps.rb'
-
 # Offense count: 2
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyleForEmptyBraces, SupportedStyles.
diff --git a/tests/browser/features/step_definitions/math_steps.rb 
b/tests/browser/features/step_definitions/math_steps.rb
index b756212..1c55cc2 100644
--- a/tests/browser/features/step_definitions/math_steps.rb
+++ b/tests/browser/features/step_definitions/math_steps.rb
@@ -23,7 +23,7 @@
 end
 
 When(/^I type (.+)$/) do |write_text|
-  on(EditPage).article_text=write_text
+  on(EditPage).article_text = write_text
 end
 
 Then(/^alt for that img should be (.+)$/) do |alt|

-- 
To view, visit https://gerrit.wikimedia.org/r/235476
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I442e5be94459d5a8bb497edad9fca900c4066ba1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <zfili...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to