tests++
[m6w6/ext-http] / phpunit / EncodingTest.php
index 5fb2df319007f33c15affb653f83537de090ea6a..b57e2a4ccff11ca09c17054bcaf51ed3cf6c132a 100644 (file)
@@ -19,10 +19,11 @@ class EncodingStreamTest extends PHPUnit_Framework_TestCase {
     }
 
     function testChunkNotEncodedNotice() {
+           error_reporting(E_ALL);
         $this->setExpectedException("PHPUnit_Framework_Error_Notice", 
             "Data does not seem to be chunked encoded");
         $s = "this is apparently not encodded\n";
-        http\Encoding\Stream\Dechunk::decode($s);
+        $this->assertEquals($s, http\Encoding\Stream\Dechunk::decode($s));
     }
 
     function testChunkNotEncodedFail() {