Add ifLess helper to Comparison helpers set

This commit is contained in:
Dmitriy Simushev 2016-08-15 17:45:05 +00:00
parent df972e6e72
commit 02b8e8e3dc
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class Helpers extends BaseHelpers
$this->add('ifEqual', new IfEqualHelper());
$this->add('ifEven', new IfEvenHelper());
$this->add('ifOdd', new IfOddHelper());
$this->add('ifLess', new IfLessHelper());
$this->add('unlessEqual', new UnlessEqualHelper());
}
}

View File

@ -42,6 +42,7 @@ class HelpersTest extends \PHPUnit_Framework_TestCase
array('ifEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEqualHelper'),
array('ifEven', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfEvenHelper'),
array('ifOdd', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfOddHelper'),
array('ifLess', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\IfLessHelper'),
array('unlessEqual', '\\JustBlackBird\\HandlebarsHelpers\\Comparison\\UnlessEqualHelper'),
);
}