MINOR Fixed SiteTreeTest->testCompareVersions() to work with new Diff/HTMLCleaner implementation

This commit is contained in:
Ingo Schommer 2011-03-30 18:20:38 +13:00
parent fb4efaa17e
commit aef17ed2e0

View File

@ -522,7 +522,7 @@ class SiteTreeTest extends SapphireTest {
$processedContent = trim($diff->Content);
$processedContent = preg_replace('/\s*</','<',$processedContent);
$processedContent = preg_replace('/>\s*/','>',$processedContent);
$this->assertEquals("<ins><p>This is a test</p></ins>", $processedContent);
$this->assertEquals("<ins><p><ins>This is a test</ins></p></ins>", $processedContent);
}