1822cc565abb0ffb54c1f8e44a1ff1119fcd3129
1 require 'abstract_unit'
3 class CDATANodeTest
< Test
::Unit::TestCase
5 @node = HTML
::CDATA.new(nil, 0, 0, "<p>howdy</p>")
9 assert_equal
"<![CDATA[<p>howdy</p>]]>", @node.to_s
13 assert_equal
"<p>howdy</p>", @node.content