From aef17ed2e0057aa8bd936a3687b8d8bd7b77bae4 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 30 Mar 2011 18:20:38 +1300 Subject: [PATCH] MINOR Fixed SiteTreeTest->testCompareVersions() to work with new Diff/HTMLCleaner implementation --- tests/SiteTreeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SiteTreeTest.php b/tests/SiteTreeTest.php index 8851a7a3..d0744c4c 100755 --- a/tests/SiteTreeTest.php +++ b/tests/SiteTreeTest.php @@ -522,7 +522,7 @@ class SiteTreeTest extends SapphireTest { $processedContent = trim($diff->Content); $processedContent = preg_replace('/\s*\s*/','>',$processedContent); - $this->assertEquals("

This is a test

", $processedContent); + $this->assertEquals("

This is a test

", $processedContent); }