mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix documentation
This commit is contained in:
@@ -25,12 +25,17 @@ class TestCase extends \PHPUnit_Framework_TestCase {
|
||||
}
|
||||
$this->cytro = Cytro::factory(CYTRO_RESOURCES.'/template', CYTRO_RESOURCES.'/compile');
|
||||
$this->cytro->addModifier('dots', __CLASS__.'::dots');
|
||||
$this->cytro->addModifier('dots', __CLASS__.'::concat');
|
||||
}
|
||||
|
||||
public static function dots($value) {
|
||||
return $value."...";
|
||||
}
|
||||
|
||||
public static function concat() {
|
||||
return call_user_func_array('var_export', func_get_args());
|
||||
}
|
||||
|
||||
public static function setUpBeforeClass() {
|
||||
if(!file_exists(CYTRO_RESOURCES.'/template')) {
|
||||
mkdir(CYTRO_RESOURCES.'/template', 0777, true);
|
||||
@@ -101,6 +106,7 @@ class TestCase extends \PHPUnit_Framework_TestCase {
|
||||
|
||||
public static function providerNumbers() {
|
||||
return array(
|
||||
array('0', 0),
|
||||
array('77', 77),
|
||||
array('-33', -33),
|
||||
array('0.2', 0.2),
|
||||
|
Reference in New Issue
Block a user