ActionTest has something wrong with its argument.

This commit is contained in:
Meredith L. Patterson 2013-12-01 22:14:51 -08:00
parent 96470902e2
commit 4735d17908

View file

@ -11,7 +11,7 @@ class ActionTest extends PHPUnit_Framework_TestCase
} }
protected function setUp() protected function setUp()
{ {
$this->parser = h_action(h_sequence(h_choice(ch("a"), ch("A")), h_choice(ch("b"), ch("B"))), "actTest"); $this->parser = h_action(sequence(choice(ch("a"), ch("A")), choice(ch("b"), ch("B"))), "actTest");
} }
public function testSuccess() public function testSuccess()
{ {