diff --git a/src/bindings/php/Tests/InTest.php b/src/bindings/php/Tests/InTest.php index 5c2ed8c..6d1c562 100644 --- a/src/bindings/php/Tests/InTest.php +++ b/src/bindings/php/Tests/InTest.php @@ -12,8 +12,7 @@ class InTest extends PHPUnit_Framework_TestCase public function testSuccess() { $result = h_parse($this->parser, "b"); - // TODO: fixme when h_ch is fixed - $this->assertEquals(98, $result); + $this->assertEquals("b", $result); } public function testFailure() { diff --git a/src/bindings/php/Tests/LeftTest.php b/src/bindings/php/Tests/LeftTest.php index 1b2a906..c671a80 100644 --- a/src/bindings/php/Tests/LeftTest.php +++ b/src/bindings/php/Tests/LeftTest.php @@ -12,7 +12,6 @@ class LeftTest extends PHPUnit_Framework_TestCase public function testSuccess() { $result = h_parse($this->parser, "a "); - // TODO fix these tests when h_ch is fixed $this->assertEquals("a", $result); } public function testFailure() diff --git a/src/bindings/php/Tests/MiddleTest.php b/src/bindings/php/Tests/MiddleTest.php index 99dbb87..1ccb9da 100644 --- a/src/bindings/php/Tests/MiddleTest.php +++ b/src/bindings/php/Tests/MiddleTest.php @@ -12,7 +12,6 @@ class MiddleTest extends PHPUnit_Framework_TestCase public function testSuccess() { $result = h_parse($this->parser, " a "); - // TODO fix these tests when h_ch is fixed $this->assertEquals("a", $result); } public function testFailure() diff --git a/src/bindings/php/Tests/NotInTest.php b/src/bindings/php/Tests/NotInTest.php index 44a12a7..4a220d3 100644 --- a/src/bindings/php/Tests/NotInTest.php +++ b/src/bindings/php/Tests/NotInTest.php @@ -12,8 +12,7 @@ class NotInTest extends PHPUnit_Framework_TestCase public function testSuccess() { $result = h_parse($this->parser, "d"); - // TODO: fixme when h_ch is fixed - $this->assertEquals(100, $result); + $this->assertEquals("d", $result); } public function testFailure() { diff --git a/src/bindings/php/Tests/RightTest.php b/src/bindings/php/Tests/RightTest.php index d5d4428..3c5b06e 100644 --- a/src/bindings/php/Tests/RightTest.php +++ b/src/bindings/php/Tests/RightTest.php @@ -12,7 +12,6 @@ class RightTest extends PHPUnit_Framework_TestCase public function testSuccess() { $result = h_parse($this->parser, " a"); - // TODO fix these tests when h_ch is fixed $this->assertEquals("a", $result); } public function testFailure() diff --git a/src/bindings/php/Tests/WhitespaceTest.php b/src/bindings/php/Tests/WhitespaceTest.php index 73c4d45..96c2f38 100644 --- a/src/bindings/php/Tests/WhitespaceTest.php +++ b/src/bindings/php/Tests/WhitespaceTest.php @@ -17,7 +17,6 @@ class WhitespaceTest extends PHPUnit_Framework_TestCase $result2 = h_parse($this->parser1, " a"); $result3 = h_parse($this->parser1, " a"); $result4 = h_parse($this->parser1, "\ta"); - // TODO fix these tests when h_ch is fixed $this->assertEquals("a", $result1); $this->assertEquals("a", $result2); $this->assertEquals("a", $result3);