]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded literal interpolation from MailHandlerTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:16:52 +0000 (16:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 3 Jun 2020 16:16:52 +0000 (16:16 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19807 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mail_handler_test.rb

index 3a91a7d10d5740443c0ba80f32630b3e796e6488..630bf5fc76f3819df217eb64c2486108a8e881be 100644 (file)
@@ -1100,7 +1100,7 @@ class MailHandlerTest < ActiveSupport::TestCase
       assert_issue_created(issue)
       assert issue.description.include?('This paragraph is before delimiters')
       assert issue.description.include?('--- This line starts with a delimiter')
-      assert !issue.description.match(/^---#{"\u00A0"}$/)
+      assert !issue.description.match(/^---\u00A0$/)
       assert !issue.description.include?('This paragraph is after the delimiter')
     end
   end