mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 06:07:26 +02:00
Remove trailing whitespace.
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -5,21 +5,21 @@
|
||||
*/
|
||||
class HTMLPurifier_ConfigSchema_ValidatorTestCase extends UnitTestCase
|
||||
{
|
||||
|
||||
|
||||
protected $_path, $_parser, $_builder;
|
||||
public $validator;
|
||||
|
||||
|
||||
public function __construct($path) {
|
||||
$this->_path = $path;
|
||||
$this->_parser = new HTMLPurifier_StringHashParser();
|
||||
$this->_builder = new HTMLPurifier_ConfigSchema_InterchangeBuilder();
|
||||
parent::__construct($path);
|
||||
}
|
||||
|
||||
|
||||
public function setup() {
|
||||
$this->validator = new HTMLPurifier_ConfigSchema_Validator();
|
||||
}
|
||||
|
||||
|
||||
function testValidator() {
|
||||
$hashes = $this->_parser->parseMultiFile($this->_path);
|
||||
$interchange = new HTMLPurifier_ConfigSchema_Interchange();
|
||||
@@ -38,5 +38,5 @@ class HTMLPurifier_ConfigSchema_ValidatorTestCase extends UnitTestCase
|
||||
$this->validator->validate($interchange);
|
||||
$this->pass();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user