Skip to content

Commit

Permalink
Expose ID so that tools can diferentiate between runs of scenario exa…
Browse files Browse the repository at this point in the history
…mples.

Change-Id: If6b43c9a11eb6078b1094001f472f768e3e7d682
  • Loading branch information
James Nord committed Oct 3, 2013
1 parent 1551c60 commit a6adaad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/src/main/java/gherkin/formatter/model/TagStatement.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public List<Tag> getTags() {
return tags;
}

public String getId() {
return id;
}

@Override
protected Integer getFirstNonCommentLine() {
if (getTags().isEmpty()) {
Expand Down

0 comments on commit a6adaad

Please sign in to comment.