Fix newline issues in tests.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / TokenFactoryTest.php
blob376fba0bf4ec830785c92e1ce65b604284033dc4
1 <?php
3 class HTMLPurifier_TokenFactoryTest extends HTMLPurifier_Harness
5 public function test() {
7 $factory = new HTMLPurifier_TokenFactory();
9 $regular = new HTMLPurifier_Token_Start('a', array('href' => 'about:blank'));
10 $generated = $factory->createStart('a', array('href' => 'about:blank'));
12 $this->assertIdentical($regular, $generated);