"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

textile_formatter_test.rb  (redmine-4.1.0):textile_formatter_test.rb  (redmine-4.1.1)
skipping to change at line 164 skipping to change at line 164
</li> </li>
<li>Item 3 <li>Item 3
<ul> <ul>
<li>Item 3a</li> <li>Item 3a</li>
</ul> </ul>
</li> </li>
</ol> </ol>
EXPECTED EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), to_html(raw).gsub(%r{\s+}, '') assert_equal expected.gsub(%r{\s+}, ''), to_html(raw).gsub(%r{\s+}, '')
raw = <<~RAW
* Item-1
* Item-1a
* Item-1b
RAW
expected = <<~EXPECTED
<ul>
<li>Item-1
<ul>
<li>Item-1a</li>
<li>Item-1b</li>
</ul>
</li>
</ul>
EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), to_html(raw).gsub(%r{\s+}, '')
end end
def test_escaping def test_escaping
assert_html_output( assert_html_output(
'this is a <script>' => 'this is a &lt;script&gt;' 'this is a <script>' => 'this is a &lt;script&gt;'
) )
end end
def test_kbd def test_kbd
assert_html_output({ assert_html_output({
 End of changes. 1 change blocks. 
0 lines changed or deleted 18 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)