summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-20 08:10:59 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-20 08:10:59 +0000
commit2f81cb6b2a6566135a40d43264a9b391f1ca35e5 (patch)
tree3812da8fda9944821a04bb875edb19a3ffc4825b /test/unit/lib/redmine
parent00b4743e910758f51861fb781879ca5aa0543667 (diff)
downloadredmine-2f81cb6b2a6566135a40d43264a9b391f1ca35e5.tar.gz
redmine-2f81cb6b2a6566135a40d43264a9b391f1ca35e5.zip
Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751).
git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb9
1 files 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} =>
- %{<blockquote cite="http://x/&quot;onmouseover=&quot;alert(document.domain)">\n\t\t<p>Hover me</p>\n\t</blockquote>}
- }, false)
+ assert_html_output(
+ {
+ %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} =>
+ %{<blockquote cite="http://x/&quot;onmouseover=&quot;alert(document.domain)">\n\t\t<p>Hover me</p>\n\t</blockquote>}
+ }, false)
end
private