X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=phpunit%2FEncodingTest.php;h=b57e2a4ccff11ca09c17054bcaf51ed3cf6c132a;hp=5fb2df319007f33c15affb653f83537de090ea6a;hb=05ae9a5d01e29d7174152b1b46a5af09833d71ef;hpb=a3ac311bb52e1947e743739c9d165b7aa01583b8 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() {