assertTrue($def->validate('one'));
$this->assertTrue($def->validate('ONE'));
}
function testCaseSensitive() {
$def = new HTMLPurifier_AttrDef_Enum(array('one', 'two'), true);
$this->assertTrue($def->validate('one'));
$this->assertFalse($def->validate('ONE'));
}
}
?>