mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-02 12:21:09 +02:00
[1.5.1] Separate out trouble area that's having segfaults. (note: this commit actually inadvertently let us discover a fix for the segfault, applied in the next revision).
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@910 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -40,8 +40,8 @@ class HTMLPurifier_AttrDef_CSS_CompositeTest extends HTMLPurifier_AttrDefHarness
|
|||||||
$def1->setReturnValue('validate', $output, $def1_params);
|
$def1->setReturnValue('validate', $output, $def1_params);
|
||||||
$def2->expectNever('validate');
|
$def2->expectNever('validate');
|
||||||
|
|
||||||
$this->assertIdentical($output,
|
$result = $def->validate($input, $config, $context);
|
||||||
$def->validate($input, $config, $context));
|
$this->assertIdentical($output, $result);
|
||||||
|
|
||||||
$def1->tally();
|
$def1->tally();
|
||||||
$def2->tally();
|
$def2->tally();
|
||||||
|
Reference in New Issue
Block a user