Commit ec16d01
committed
Clean up some code in PlatformSpecRunner
- In 'runFeature', the 'if (currentFeature.isSkipped())' code block is
unnecessary, because it will never be executed, as 'runFeature' also
will not be executed for skipped features.
- In 'runSpec', add 'if (spec.isExcluded()) return;' analogous to
the existing 'if (currentFeature.isExcluded()) return;' in
'runFeature', logically aligning the code structures in both methods.
Relates to #1662.1 parent 3651263 commit ec16d01
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | 188 | | |
192 | 189 | | |
193 | 190 | | |
| |||
0 commit comments