Fix newline issues in tests.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / PHPT / loading / standalone-with-prefix.phpt
blobd1ee2bdb8018fb218e84a5230bda96fc8314fe69
1 --TEST--
2 HTMLPurifier.standalone.php with HTMLPURIFIER_PREFIX loading test
3 --FILE--
4 <?php
5 define('HTMLPURIFIER_PREFIX', realpath('../library'));
6 require '../library/HTMLPurifier.path.php';
7 require 'HTMLPurifier.standalone.php';
8 require 'HTMLPurifier/Filter/YouTube.php';
9 require 'HTMLPurifier/PHPT/loading/_no-autoload.inc';
10 $config = HTMLPurifier_Config::createDefault();
11 $purifier = new HTMLPurifier($config);
12 echo $purifier->purify('<b>Salsa!');
13 assert('in_array(realpath("../library/HTMLPurifier/Filter/YouTube.php"), get_included_files())');
14 --EXPECT--
15 <b>Salsa!</b>