redefine in() and not_in() in terms of action with 'chr'

This commit is contained in:
Meredith L. Patterson 2013-12-11 06:49:52 +01:00
parent de02a2450b
commit 8c074420f7
3 changed files with 28 additions and 10 deletions

View file

@ -7,7 +7,7 @@ class InTest extends PHPUnit_Framework_TestCase
protected function setUp()
{
$this->parser = h_in("abc");
$this->parser = in("abc");
}
public function testSuccess()
{

View file

@ -7,7 +7,7 @@ class NotInTest extends PHPUnit_Framework_TestCase
protected function setUp()
{
$this->parser = h_not_in("abc");
$this->parser = not_in("abc");
}
public function testSuccess()
{