sequence is still segfaulting; its inner parsers seem to be getting corrupted somehow
This commit is contained in:
parent
4d649d93d3
commit
d544c2f4bb
2 changed files with 11 additions and 19 deletions
|
|
@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue