TextTest.php 331 B

1234567891011121314151617
  1. <?php
  2. class HTMLPurifier_AttrDef_TextTest extends HTMLPurifier_AttrDefHarness
  3. {
  4. function test() {
  5. $this->def = new HTMLPurifier_AttrDef_Text();
  6. $this->assertDef('This is spiffy text!');
  7. $this->assertDef(" Casual\tCDATA parse\ncheck. ", 'Casual CDATA parse check.');
  8. }
  9. }
  10. // vim: et sw=4 sts=4