| // | Jens Bierkandt | // +----------------------------------------------------------------------+ // // $Id: require_once "PHPUnit.php"; if (file_exists('../Beautifier.php')) { include_once '../Beautifier.php'; } else { include_once "PHP/Beautifier.php"; } class Beautifier_Bugs extends PHPUnit_TestCase { function Beautifier_Bugs($name) { $this->PHPUnit_TestCase($name); } function setUp() { $this->oBeaut = new PHP_Beautifier(); } function setText($sText) { $this->oBeaut->setInputString($sText); $this->oBeaut->process(); } /** * HeredocBeforeCloseTag * Close tag after heredoc remove whitespace, * breaking the script. * */ function testBugInternal1() { $sText = <<