Amire80 has uploaded a new change for review. https://gerrit.wikimedia.org/r/191608
Change subject: Fix the Rubocop offense AmbiguousRegexpLiteral ...................................................................... Fix the Rubocop offense AmbiguousRegexpLiteral Change-Id: Ic060ce7fd85970cbfec4e9cbee8954dd69492e23 --- M .rubocop_todo.yml M tests/browser/features/step_definitions/create_and_follow_wiki_link_steps.rb 2 files changed, 1 insertion(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/08/191608/1 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f0702ba..ccd67a4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -5,10 +5,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 -Lint/AmbiguousRegexpLiteral: - Enabled: false - # Offense count: 2 # Cop supports --auto-correct. Lint/UnusedMethodArgument: diff --git a/tests/browser/features/step_definitions/create_and_follow_wiki_link_steps.rb b/tests/browser/features/step_definitions/create_and_follow_wiki_link_steps.rb index ba41f7f..f4e3eb1 100644 --- a/tests/browser/features/step_definitions/create_and_follow_wiki_link_steps.rb +++ b/tests/browser/features/step_definitions/create_and_follow_wiki_link_steps.rb @@ -19,7 +19,7 @@ end Then(/^I should be on the Link Target Test Page$/) do - @browser.url.should match /Link_Target_Test_Page/ + @browser.url.should match(/Link_Target_Test_Page/) end Then(/^the page content should contain "(.*?)"$/) do |content| -- To view, visit https://gerrit.wikimedia.org/r/191608 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic060ce7fd85970cbfec4e9cbee8954dd69492e23 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Amire80 <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
