EndTest is still failing, but the void*[] typemap isn't segfaulting anymore

This commit is contained in:
Meredith L. Patterson 2013-12-01 20:55:04 -08:00
parent d544c2f4bb
commit 9f55409246
2 changed files with 17 additions and 11 deletions

View file

@ -12,12 +12,14 @@ class EndPTest extends PHPUnit_Framework_TestCase
public function testSuccess()
{
$result = h_parse($this->parser, "a");
$result = h_parse($this->parser, ["a"]);
var_dump($result);
$this->assertEquals("a", $result);
}
public function testFailure()
{
$result = h_parse($this->parser, "aa");
var_dump($result);
$this->assertEquals(NULL, $result);
}
}