PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / tests / HTMLPurifier / EntityLookupTest.php
blobe8c3d35ed720437262df3316abc5e8c8fdd4c1e4
1 <?php
3 // this page is UTF-8 encoded!
5 class HTMLPurifier_EntityLookupTest extends HTMLPurifier_Harness
8 public function test()
10 $lookup = HTMLPurifier_EntityLookup::instance();
12 // latin char
13 $this->assertIdentical('â', $lookup->table['acirc']);
15 // special char
16 $this->assertIdentical('"', $lookup->table['quot']);
17 $this->assertIdentical('“', $lookup->table['ldquo']);
18 $this->assertIdentical('<', $lookup->table['lt']); // expressed strangely in source file
20 // symbol char
21 $this->assertIdentical('θ', $lookup->table['theta']);
27 // vim: et sw=4 sts=4