Rails 2.1 RC1

Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
This commit is contained in:
Jacques Distler 2008-05-17 23:22:34 -05:00
parent 14afed5893
commit 5292899c9a
971 changed files with 46318 additions and 17450 deletions

View file

@ -1,5 +1,4 @@
require File.dirname(__FILE__) + '/../../abstract_unit'
require 'test/unit'
require 'abstract_unit'
class TokenizerTest < Test::Unit::TestCase
@ -79,6 +78,13 @@ class TokenizerTest < Test::Unit::TestCase
assert_end
end
def test_unterminated_cdata_tag
tokenize %{<content:encoded><![CDATA[ neverending...}
assert_next %{<content:encoded>}
assert_next %{<![CDATA[ neverending...}
assert_end
end
def test_less_than_with_space
tokenize %{original < hello > world}
assert_next %{original }