redefine in() and not_in() in terms of action with 'chr'
This commit is contained in:
parent
de02a2450b
commit
8c074420f7
3 changed files with 28 additions and 10 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue