summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/HTML5/Serializer/SerializerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/HTML5/Serializer/SerializerTest.php b/test/HTML5/Serializer/SerializerTest.php
index 4a28c54..234cca4 100644
--- a/test/HTML5/Serializer/SerializerTest.php
+++ b/test/HTML5/Serializer/SerializerTest.php
@@ -130,9 +130,8 @@ class SerializerTest extends \HTML5\Tests\TestCase {
$this->assertRegExp('|<!-- This is a test. -->|', $res);
}
- // FAILS because the parser converts CDATA to a comment. Issue #2.
public function testCDATA() {
$res = $this->cycle($this->prepareHtml('a<![CDATA[ This <is> a test. ]]>b'));
- $this->assertRegExp('|<![CDATA[ This <is> a test. ]]>|', $res);
+ $this->assertRegExp('|<!\[CDATA\[ This <is> a test\. \]\]>|', $res);
}
}