summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-10-20 07:57:02 +0000
committerGo MAEDA <maeda@farend.jp>2022-10-20 07:57:02 +0000
commit00b4743e910758f51861fb781879ca5aa0543667 (patch)
tree9f35101b6aadaad9d6a29d28e6461f3f1b6145f0
parent3fe8a7575d1be2094c5ee610cf067ef821447347 (diff)
downloadredmine-00b4743e910758f51861fb781879ca5aa0543667.tar.gz
redmine-00b4743e910758f51861fb781879ca5aa0543667.zip
Fix RuboCop offenses Layout/EmptyLinesAroundClassBody and Layout/TrailingEmptyLines in html_sanitizer_test.rb (#37750).
git-svn-id: https://svn.redmine.org/redmine/trunk@21914 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/lib/redmine/wiki_formatting/html_sanitizer_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/html_sanitizer_test.rb b/test/unit/lib/redmine/wiki_formatting/html_sanitizer_test.rb
index 5e92911d8..4c081de1b 100644
--- a/test/unit/lib/redmine/wiki_formatting/html_sanitizer_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/html_sanitizer_test.rb
@@ -20,7 +20,6 @@
require File.expand_path('../../../../../test_helper', __FILE__)
class Redmine::WikiFormatting::HtmlSanitizerTest < ActiveSupport::TestCase
-
def setup
@sanitizer = Redmine::WikiFormatting::HtmlSanitizer
end
@@ -37,4 +36,3 @@ class Redmine::WikiFormatting::HtmlSanitizerTest < ActiveSupport::TestCase
assert_equal "<a>foo</a>", @sanitizer.call(input)
end
end
-