瀏覽代碼

Add test for #4354.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3142 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.9.0
Jean-Philippe Lang 14 年之前
父節點
當前提交
3918374d5c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      test/unit/helpers/application_helper_test.rb

+ 4
- 0
test/unit/helpers/application_helper_test.rb 查看文件

@@ -472,6 +472,10 @@ EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), textilizable(raw).gsub(%r{\s+}, '')
end
def test_textile_should_not_mangle_brackets
assert_equal '<p>[msg1][msg2]</p>', textilizable('[msg1][msg2]')
end
def test_default_formatter
Setting.text_formatting = 'unknown'
text = 'a *link*: http://www.example.net/'

Loading…
取消
儲存