@@ -39,13 +39,11 @@ |
||
39 | 39 | try |
40 | 40 | { |
41 | 41 | $this->assertEquals('June', Dt::getMonth(13)); |
42 | - } |
|
43 | - catch (\Exception $e) |
|
42 | + } catch (\Exception $e) |
|
44 | 43 | { |
45 | 44 | $errorObject = ($e instanceof MonthOutOfRange); |
46 | 45 | $message = $e->getMessage(); |
47 | - } |
|
48 | - finally |
|
46 | + } finally |
|
49 | 47 | { |
50 | 48 | $this->assertTrue($errorObject, $message); |
51 | 49 | } |