Location: PHPKode > projects > PHPTAL > PHPTAL-1.2.2/tests/TalesPhpWithReplaceTest.php
<?php
/**
 * PHPTAL templating engine
 *
 * PHP Version 5
 *
 * @category HTML
 * @package  PHPTAL
 * @author   Laurent Bedubourg <hide@address.com>
 * @author   Kornel Lesiński <hide@address.com>
 * @license  http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
 * @version  SVN: $Id: TalesPhpWithReplaceTest.php 888 2010-06-08 09:48:33Z kornel $
 * @link     http://phptal.org/
 */


class TalesPhpWithReplaceTest extends PHPTAL_TestCase
{
    function testIt()
    {
        $tpl = $this->newPHPTAL('input/talesphpwithreplace.01.html');
        $res = normalize_html($tpl->execute());
        $exp = normalize_html_file('output/talesphpwithreplace.01.html');
        $this->assertEquals($exp, $res);
    }
}


Return current item: PHPTAL