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