@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | { |
28 | 28 | // write lines with WriteToFile task |
29 | 29 | $result = $this->taskWriteToFile('blogpost.md') |
30 | - ->line('****') |
|
31 | - ->line('hello world') |
|
32 | - ->line('****') |
|
33 | - ->run(); |
|
30 | + ->line('****') |
|
31 | + ->line('hello world') |
|
32 | + ->line('****') |
|
33 | + ->run(); |
|
34 | 34 | $this->assertTrue($result->wasSuccessful()); |
35 | 35 | $this->assertFileExists('blogpost.md'); |
36 | 36 | $contents = file_get_contents('blogpost.md'); |
@@ -133,7 +133,4 @@ discard block |
||
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 |