From dcfc6a48c453f58ae0dbc1d4f0e7a25f24bea340 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Tue, 29 Mar 2005 05:19:32 +0000 Subject: [PATCH] Added a unit test for parsing of [[With:Colon]] --- test/unit/revision_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/unit/revision_test.rb b/test/unit/revision_test.rb index b6292a58..6603677f 100755 --- a/test/unit/revision_test.rb +++ b/test/unit/revision_test.rb @@ -246,6 +246,12 @@ class RevisionTest < Test::Unit::TestCase '[[NonExistant.jpg:pic]]') end + def test_wiki_link_with_colon + assert_markup_parsed_as( + '

With:Colon?

', + '[[With:Colon]]') + end + # 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