| @@ -27,8 +27,7 @@ | ||
| 27 | 27 |          foreach ($this->tmpDirs as $tmpDir) { | 
| 28 | 28 |              try { | 
| 29 | 29 | $fs->remove($tmpDir); | 
| 30 | - } | |
| 31 | -            catch (\Exception $e) { | |
| 30 | +            } catch (\Exception $e) { | |
| 32 | 31 | // Ignore problems with removing fixtures. | 
| 33 | 32 | } | 
| 34 | 33 | } | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Robo\Task\Base; | 
| 4 | 4 | |
| 5 | -use Robo\Common\ExecTrait; | |
| 6 | 5 | use Robo\Contract\CommandInterface; | 
| 7 | 6 | use Robo\Contract\PrintedInterface; | 
| 8 | 7 | use Robo\Contract\SimulatedInterface; | 
| @@ -133,7 +133,4 @@ | ||
| 133 | 133 | $this->assertTrue($result->wasSuccessful()); | 
| 134 | 134 |          $this->assertFileExists('box/robo.txt'); | 
| 135 | 135 |          $contents = file_get_contents('box/robo.txt'); | 
| 136 | -        $this->assertContains('Hello robo.li!', $contents); | |
| 137 | - } | |
| 138 | -} | |
| 139 | - | |
| 136 | +        $this->assertContains('Hello robo.li!', $contents | |
| 140 | 137 | \ No newline at end of file | 
| @@ -133,7 +133,4 @@ | ||
| 133 | 133 | $this->assertTrue($result->wasSuccessful()); | 
| 134 | 134 |          $this->assertFileExists('box/robo.txt'); | 
| 135 | 135 |          $contents = file_get_contents('box/robo.txt'); | 
| 136 | -        $this->assertContains('Hello robo.li!', $contents); | |
| 137 | - } | |
| 138 | -} | |
| 139 | - | |
| 136 | +        $this->assertContains('Hello robo.li!', $contents | |
| 140 | 137 | \ No newline at end of file |