Fix newline issues in tests.
[htmlpurifier.git] / tests / HTMLPurifier / PHPT / loading / auto-without-spl-autoload.phpt
blobe15d25f845e59f4a3a99976c8f2ba2abbf529a11
1 --TEST--
2 HTMLPurifier.auto.php without spl_autoload_register without userland autoload loading test
3 --SKIPIF--
4 <?php
5 if (function_exists('spl_autoload_register')) {
6     echo "skip - spl_autoload_register() available";
8 --FILE--
9 <?php
10 assert("!function_exists('__autoload')");
11 require '../library/HTMLPurifier.auto.php';
12 require 'HTMLPurifier/PHPT/loading/_autoload.inc';
13 $config = HTMLPurifier_Config::createDefault();
14 $purifier = new HTMLPurifier($config);
15 echo $purifier->purify('<b>Salsa!') . "
18 --EXPECT--
19 <b>Salsa!</b>