diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-24 21:51:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-24 21:51:10 +0000 |
commit | 28cdc8adfc5d63befe8d763c8b84cfe24e3f9603 (patch) | |
tree | da8643e6a5f7e623876e95c5f9ca0099283a6521 /test/unit/helpers | |
parent | 3209c4c5e48fd12239a3f5b71384ee5e09d93f61 (diff) | |
download | redmine-28cdc8adfc5d63befe8d763c8b84cfe24e3f9603.tar.gz redmine-28cdc8adfc5d63befe8d763c8b84cfe24e3f9603.zip |
Don't turn #nnn with leading zeros into link (#11494).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10077 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 8b22df08a..1740fbc52 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -260,6 +260,8 @@ RAW # ticket notes '#3-14' => note_link, '#3#note-14' => note_link, + # should not ignore leading zero + '#03' => '#03', # changesets 'r1' => changeset_link, 'r1.' => "#{changeset_link}.", |