diff --git a/test/unit/revision_test.rb b/test/unit/revision_test.rb index 6603677f..c939ad65 100755 --- a/test/unit/revision_test.rb +++ b/test/unit/revision_test.rb @@ -189,7 +189,7 @@ class RevisionTest < Test::Unit::TestCase @revision.clear_display_cache @revision.content = "f\r\nVersionHistory\r\n\r\ncry VersionHistory" - assert_equal "

f\nVersion History" + + assert_equal "

f
Version History" + "?

\n\n\n\t

cry " + "Version History?" + "

", @@ -254,15 +254,14 @@ class RevisionTest < Test::Unit::TestCase # TODO Remove the leading underscores from this test when upgrading to RedCloth 3.0.1; # also add a test for the "Unhappy Face" problem (another interesting RedCloth bug) - def __test_list_with_tildas + def test_list_with_tildas list_with_tildas = <<-EOL * "a":~b * c~ d EOL assert_markup_parsed_as( - "
  • a
  • \n" + - "
  • c~ d
  • \n", + "", list_with_tildas) end