summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-03 18:00:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-03 18:00:50 +0000
commit586231067bb1aa0ab7c1da005a6b62413ca0fd2d (patch)
tree54e5a9927ab472b204e4f04651d915cab8b582d0 /test
parentcb8bee3a4e5a6fffc094665d8f0107e57a63d103 (diff)
downloadredmine-586231067bb1aa0ab7c1da005a6b62413ca0fd2d.tar.gz
redmine-586231067bb1aa0ab7c1da005a6b62413ca0fd2d.zip
Fixed: URL with ~ broken in wiki formatting.
All RedCloth quick phrase modifiers are now limited to a single line. git-svn-id: http://redmine.rubyforge.org/svn/trunk@796 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/helpers/application_helper_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb
index 1da25b6fe..0048ce5b8 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -29,6 +29,7 @@ class ApplicationHelperTest < HelperTestCase
def test_auto_links
to_test = {
'http://foo.bar' => '<a class="external" href="http://foo.bar">http://foo.bar</a>',
+ 'http://foo.bar/~user' => '<a class="external" href="http://foo.bar/~user">http://foo.bar/~user</a>',
'http://foo.bar.' => '<a class="external" href="http://foo.bar">http://foo.bar</a>.',
'http://foo.bar/foo.bar#foo.bar.' => '<a class="external" href="http://foo.bar/foo.bar#foo.bar">http://foo.bar/foo.bar#foo.bar</a>.',
'www.foo.bar' => '<a class="external" href="http://www.foo.bar">www.foo.bar</a>',