diff --git a/src/bindings/php/Tests/InTest.php b/src/bindings/php/Tests/InTest.php index 5c2ed8c4f1db53b514f765faa96f70a9fbfa853a..6d1c56237559d833b9d7ac2aa329f3e4d0554b33 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 1b2a906b47d14048d2941dd0e55f27fbbb7a1827..c671a80875d29b9333c75a161c9b5f13171e8ea2 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 99dbb871e31bcd472a030011bd6500e8e5e42968..1ccb9da46cf5c7d6a0523a05c934c770b7baa985 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 44a12a784670436a14c86e4204ba58a99d22ac4f..4a220d382c801cd0ae38a3952b831ed2fdd6d9ed 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 d5d442891a8b18a5139a9be8d2b0c1fd535d504f..3c5b06e2083a313590b91c341d64e6ffd555f206 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 73c4d4530e7e45e6d550aa8cf0578a4e610a68d2..96c2f380f707c8d251c8fdf79a129711fc27d77e 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);