From f1a90e684b119ac536e198f823af21de37951fc5 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 27 Mar 2007 23:07:21 +0000 Subject: [PATCH] [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 --- tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php index 3ec60e7d..0a4e496f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php @@ -40,8 +40,8 @@ class HTMLPurifier_AttrDef_CSS_CompositeTest extends HTMLPurifier_AttrDefHarness $def1->setReturnValue('validate', $output, $def1_params); $def2->expectNever('validate'); - $this->assertIdentical($output, - $def->validate($input, $config, $context)); + $result = $def->validate($input, $config, $context); + $this->assertIdentical($output, $result); $def1->tally(); $def2->tally();