Permalink
Browse files

MINOR Fixed SiteTreeTest->testCompareVersions() to work with new Diff…

…/HTMLCleaner implementation
  • Loading branch information...
1 parent fb4efaa commit aef17ed2e0057aa8bd936a3687b8d8bd7b77bae4 @chillu chillu committed Mar 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/SiteTreeTest.php
View
@@ -522,7 +522,7 @@ function testCompareVersions() {
$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);
}

0 comments on commit aef17ed

Please sign in to comment.