From c8f1c4abd278c1c77315bb738f473ced12d1bb7b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 11:53:15 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_should_not_parse_redmine_links_inside_link git-svn-id: http://svn.redmine.org/redmine/trunk@19006 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 64a571f9f..340698663 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -474,8 +474,9 @@ class ApplicationHelperTest < Redmine::HelperTest def test_should_not_parse_redmine_links_inside_link raw = "r1 should not be parsed in http://example.com/url-r1/" - assert_match %r{

r1 should not be parsed in http://example.com/url-r1/

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

r1 should not be parsed in http://example.com/url-r1/

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