features/catches_broken_puzzles.feature in pdd-0.20.8 vs features/catches_broken_puzzles.feature in pdd-0.21.0
- old
+ new
@@ -9,32 +9,14 @@
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
+ * @todo This puzzle has an incorrect format
+ * because it doesn't have a ticket number
*/
public void main(String[] args) {
// later
}
}
"""
- When I run pdd it fails with "Space expected"
When I run pdd it fails with "Sample.java:6"
-
- Scenario: Throwing exception on yet another broken puzzle
- Given I have a "Sample.java" file with content:
- """
- public class Main {
- //
- // @todo #13 This puzzle has an incorrect format
- // because there is no space character in the
- // second and third lines
- //
- public void main(String[] args) {
- // later
- }
- }
- """
- When I run pdd it fails with "Space expected"