diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:56:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:56:23 +0000 |
commit | c77b108279fdee00f45863c4e95f7d0d28a785bf (patch) | |
tree | eb5c3b10ccea3e2439b63cde9ba4c6b2b77301f7 | |
parent | b5680f44561b5efcf9209bad6aee0663d28fda22 (diff) | |
download | redmine-c77b108279fdee00f45863c4e95f7d0d28a785bf.tar.gz redmine-c77b108279fdee00f45863c4e95f7d0d28a785bf.zip |
add space after comma to MailHandlerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19962 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/mail_handler_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 489106379..6b9d3849d 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -262,7 +262,7 @@ class MailHandlerTest < ActiveSupport::TestCase field = IssueCustomField.create!(:name => 'Affected version', :field_format => 'version', :is_for_all => true, - :tracker_ids => [1,2,3]) + :tracker_ids => [1, 2, 3]) issue = submit_email('ticket_with_custom_fields.eml', :issue => {:project => 'ecookbook'}, :allow_override => ['affected version'] @@ -1187,7 +1187,7 @@ class MailHandlerTest < ActiveSupport::TestCase def test_email_with_long_subject_line issue = submit_email('ticket_with_long_subject.eml') assert issue.is_a?(Issue) - assert_equal issue.subject, 'New ticket on a given project with a very long subject line which exceeds 255 chars and should not be ignored but chopped off. And if the subject line is still not long enough, we just add more text. And more text. Wow, this is really annoying. Especially, if you have nothing to say...'[0,255] + assert_equal issue.subject, 'New ticket on a given project with a very long subject line which exceeds 255 chars and should not be ignored but chopped off. And if the subject line is still not long enough, we just add more text. And more text. Wow, this is really annoying. Especially, if you have nothing to say...'[0, 255] end def test_first_keyword_should_be_matched |