@@ -56,13 +56,11 @@ |
||
| 56 | 56 | try |
| 57 | 57 | { |
| 58 | 58 | $text = $http->getStatusText(65431); |
| 59 | - } |
|
| 60 | - catch (\Exception $e) |
|
| 59 | + } catch (\Exception $e) |
|
| 61 | 60 | { |
| 62 | 61 | $errorObject = ($e instanceof \RuntimeException); |
| 63 | 62 | $message = $e->getMessage(); |
| 64 | - } |
|
| 65 | - finally |
|
| 63 | + } finally |
|
| 66 | 64 | { |
| 67 | 65 | $this->assertTrue($errorObject, $message); |
| 68 | 66 | } |