0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-10 15:48:42 +00:00
htmlpurifier/tests/HTMLPurifier/PHPT/loading/_autoload.inc

11 lines
336 B
PHP
Raw Normal View History

<?php
/**
* Tests if autoloading for HTML Purifier is enabled. If all tests pass,
* output is blank.
*/
assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
new HTMLPurifier_Filter_YouTube();
assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");