X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=phpunit%2FEncodingTest.php;h=b57e2a4ccff11ca09c17054bcaf51ed3cf6c132a;hb=7b028d0cbb030f9610084314f67b77907d8474a2;hp=5fb2df319007f33c15affb653f83537de090ea6a;hpb=a3ac311bb52e1947e743739c9d165b7aa01583b8;p=m6w6%2Fext-http diff --git a/phpunit/EncodingTest.php b/phpunit/EncodingTest.php index 5fb2df3..b57e2a4 100644 --- a/phpunit/EncodingTest.php +++ b/phpunit/EncodingTest.php @@ -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() {