PEAR2_Templates_SavantPEAR2_Templates_Savant-0.3.3/test/pear2.php.net/PEAR2_Templates_Savant/globals/basic.phpt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
\PEAR2\Templates\Savant\Main::addGlobal() basic test
--FILE--
<?php
require dirname(__FILE__) . '/../test_framework.php.inc';
chdir(__DIR__);
$savvy = new \PEAR2\Templates\Savant\Main();

$savvy->addGlobal('foo', true);

echo $savvy->render(null, 'basic.tpl.php');

?>
--EXPECT--
===DONE===
EOF