EndTest is still failing, but the void*[] typemap isn't segfaulting anymore
This commit is contained in:
parent
d544c2f4bb
commit
9f55409246
2 changed files with 17 additions and 11 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue