features/catches_broken_puzzles.feature in pdd-0.17.4 vs features/catches_broken_puzzles.feature in pdd-0.17.5
- old
+ new
@@ -6,19 +6,23 @@
Scenario: Throwing exception on broken puzzles
Given I have a "Sample.java" file with content:
"""
public class Main {
/**
+ * Some other documentation
+ * text that is not relevant to
+ * the puzzle below.
* @todo #13 This puzzle has an incorrect format
* because it doesn't start with a space on
* the second and the third lines
*/
public void main(String[] args) {
// later
}
}
"""
When I run pdd it fails with "Space expected"
+ When I run pdd it fails with "in line #6"
Scenario: Throwing exception on another broken puzzle
Given I have a "Sample.java" file with content:
"""
public class Main {