summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-13 03:04:51 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-13 03:04:51 +0000
commitb8d05419555988f3b49430ce3d8b27bb82835775 (patch)
treee7797c7d5a3724387f274321f54620d69a03201b /test/helpers
parent5b95f064e03a49253e7b6c1e01fb81eb86c9f6e9 (diff)
downloadredmine-b8d05419555988f3b49430ce3d8b27bb82835775.tar.gz
redmine-b8d05419555988f3b49430ce3d8b27bb82835775.zip
Fix user link using @ not working at the end of line (#34894).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20936 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 106820999..730023443 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -521,6 +521,7 @@ class ApplicationHelperTest < Redmine::HelperTest
'user:JSMITH' => link_to_user(User.find_by_id(2)),
'user#2' => link_to_user(User.find_by_id(2)),
'@jsmith' => link_to_user(User.find_by_id(2)),
+ '@jsmith.' => "#{link_to_user(User.find_by_id(2))}.",
'@JSMITH' => link_to_user(User.find_by_id(2)),
'@abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),
'user:abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),