Skip to content

Commit

Permalink
#17 extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Nov 4, 2014
1 parent 1951978 commit 2e37e92
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions features/catches_broken_puzzles.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,19 @@ Feature: Catches Broken Puzzles
}
"""
When I run pdd it fails with "Too many spaces"

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"

0 comments on commit 2e37e92

Please sign in to comment.