sequence is still segfaulting; its inner parsers seem to be getting corrupted somehow

This commit is contained in:
Meredith L. Patterson 2013-12-01 17:21:05 -08:00
parent 4d649d93d3
commit d544c2f4bb
2 changed files with 11 additions and 19 deletions

View file

@ -12,17 +12,13 @@ class EndPTest extends PHPUnit_Framework_TestCase
public function testSuccess()
{
echo 'in testSuccess\n';
// $result = h_parse($this->parser, "a");
// TODO: fixme when h_ch is fixed
// $this->assertEquals(98, $result);
$result = h_parse($this->parser, "a");
$this->assertEquals("a", $result);
}
/*
public function testFailure()
{
$result = h_parse($this->parser, "aa");
$this->assertEquals(NULL, $result);
}
*/
}
?>