Completed
Pull Request — master (#177)
by Mathias
12:52
created
tests/Behat/Gherkin/Parsica/EmptyFeatureTest.php 2 patches
Doc Comments   +1 added lines, -21 removed lines patch added patch discarded remove patch
@@ -153,24 +153,4 @@
 block discarded – undo
153 153
         $parser = token(string('Foo'));
154 154
         $expected = 'Foo';
155 155
 
156
-        $this->assertParses($input, $parser, $expected);
157
-    }
158
-}
159
-
160
-/*
161
-Feature: This thing
162
-
163
-   This feature will be super awesome
164
-
165
-   Example: Example text
166
-    Given I have a cat when it's raining
167
-    When I kill the cat
168
-    Then I no longer have the cat
169
-
170
-FeatureKeyword: FeatureTitle
171
-
172
-    ScenarioKeyword: ScenarioTitle
173
-        StepKeyword StepText
174
-        StepKeyword StepText
175
-        StepKeyword StepText
176
- */
156
+        $this->assertParses($input, $parser, $expected
177 157
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -21 removed lines patch added patch discarded remove patch
@@ -153,24 +153,4 @@
 block discarded – undo
153 153
         $parser = token(string('Foo'));
154 154
         $expected = 'Foo';
155 155
 
156
-        $this->assertParses($input, $parser, $expected);
157
-    }
158
-}
159
-
160
-/*
161
-Feature: This thing
162
-
163
-   This feature will be super awesome
164
-
165
-   Example: Example text
166
-    Given I have a cat when it's raining
167
-    When I kill the cat
168
-    Then I no longer have the cat
169
-
170
-FeatureKeyword: FeatureTitle
171
-
172
-    ScenarioKeyword: ScenarioTitle
173
-        StepKeyword StepText
174
-        StepKeyword StepText
175
-        StepKeyword StepText
176
- */
156
+        $this->assertParses($input, $parser, $expected
177 157
\ No newline at end of file
Please login to merge, or discard this patch.
tests/Behat/Gherkin/Parsica/TextLineTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 namespace Tests\Behat\Parsica;
5 5
 
6
-use Behat\Gherkin\Parsica\Asserts;
7 6
 use Behat\Parsica;
8 7
 use PHPUnit\Framework\TestCase;
9 8
 use Verraes\Parsica\PHPUnit\ParserAssertions;
Please login to merge, or discard this patch.