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 fb602c6 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:
382 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | namespace GuzzleHttp\Promise\Tests;
|
|---|
| 3 |
|
|---|
| 4 | use GuzzleHttp\Promise\AggregateException;
|
|---|
| 5 |
|
|---|
| 6 | class AggregateExceptionTest extends \PHPUnit_Framework_TestCase
|
|---|
| 7 | {
|
|---|
| 8 | public function testHasReason()
|
|---|
| 9 | {
|
|---|
| 10 | $e = new AggregateException('foo', ['baz', 'bar']);
|
|---|
| 11 | $this->assertContains('foo', $e->getMessage());
|
|---|
| 12 | $this->assertEquals(['baz', 'bar'], $e->getReason());
|
|---|
| 13 | }
|
|---|
| 14 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.
Download in other formats: