From 09c0dd38179fe2cea665cac245701dfbfe75c72f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 11:53:26 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_user_links_with_email_as_login_name_should_not_be_parsed_textile git-svn-id: http://svn.redmine.org/redmine/trunk@19007 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 340698663..8cd92dfda 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -446,13 +446,15 @@ class ApplicationHelperTest < Redmine::HelperTest # user link format: @jsmith@somenet.foo raw = "@jsmith@somenet.foo should not be parsed in jsmith@somenet.foo" - assert_match %r{

#{u.name} should not be parsed in

}, - textilizable(raw, :project => Project.find(1)) + assert_match( + %r{

#{u.name} should not be parsed in

}, + textilizable(raw, :project => Project.find(1))) # user link format: user:jsmith@somenet.foo raw = "user:jsmith@somenet.foo should not be parsed in jsmith@somenet.foo" - assert_match %r{

#{u.name} should not be parsed in

}, - textilizable(raw, :project => Project.find(1)) + assert_match( + %r{

#{u.name} should not be parsed in

}, + textilizable(raw, :project => Project.find(1))) end end -- 2.39.5