Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / PHPT / loading / _autoload.inc
blob42e3500e4f9bfa04a39e6bfae2a23073b74466e1
1 <?php
3 /**
4  * Tests if autoloading for HTML Purifier is enabled. If all tests pass,
5  * output is blank.
6  */
8 assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())");
9 new HTMLPurifier_Filter_YouTube();
10 assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())");
12 // vim: et sw=4 sts=4