close
Warning:
AdminModule failed with TracError: Unable to instantiate component <class 'trac.admin.web_ui.BasicsAdminPanel'> (super(type, obj): obj (type BasicsAdminPanel) is not an instance or subtype of type (Markup).)
|
Last change
on this file since 4b09d68 was 01a620f, checked in by Joachim Langenbach <joachim.langenbach@…>, 11 years ago |
|
Removed submodules for php externals and use composer to provide them and versioned them afterwards
|
-
Property mode
set to
100644
|
|
File size:
378 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | namespace GuzzleHttp\Tests\Psr7;
|
|---|
| 3 |
|
|---|
| 4 | use GuzzleHttp\Psr7;
|
|---|
| 5 | use GuzzleHttp\Psr7\InflateStream;
|
|---|
| 6 |
|
|---|
| 7 | class InflateStreamtest extends \PHPUnit_Framework_TestCase
|
|---|
| 8 | {
|
|---|
| 9 | public function testInflatesStreams()
|
|---|
| 10 | {
|
|---|
| 11 | $content = gzencode('test');
|
|---|
| 12 | $a = Psr7\stream_for($content);
|
|---|
| 13 | $b = new InflateStream($a);
|
|---|
| 14 | $this->assertEquals('test', (string) $b);
|
|---|
| 15 | }
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.
Download in other formats: