From 2f81cb6b2a6566135a40d43264a9b391f1ca35e5 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 20 Oct 2022 08:10:59 +0000 Subject: [PATCH] Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751). git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../redmine/wiki_formatting/textile_formatter_test.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb index 9d2a1815d..12e24b8a6 100644 --- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb @@ -763,10 +763,11 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase end def test_should_escape_bq_citations - assert_html_output({ - %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} => - %{
\n\t\t

Hover me

\n\t
} - }, false) + assert_html_output( + { + %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} => + %{
\n\t\t

Hover me

\n\t
} + }, false) end private