Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Changed implementation to fix the bug whle adhering to the original p…
Browse files Browse the repository at this point in the history
…ost-conditions of the replay method
  • Loading branch information
sirchia committed Nov 10, 2013
1 parent 90e3b1a commit 496158c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/main/java/gherkin/formatter/FilterFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void scenarioOutline(ScenarioOutline scenarioOutline) {
@Override
public void examples(Examples examples) {
replay();
examplesTags = examples.getTags();
examplesTags.addAll(examples.getTags());
examplesName = examples.getName();

Range tableBodyRange;
Expand Down Expand Up @@ -206,6 +206,7 @@ private void replay() {
}
}
examplesEvents.clear();
examplesTags.clear();
examplesName = null;
examplesRange = null;
}
Expand Down

0 comments on commit 496158c

Please sign in to comment.