Skip to content

Commit 7e1c7d3

Browse files
committed
Add Scenario.getLanguage() to cucumber-java8
1 parent 1596373 commit 7e1c7d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cucumber-java8/src/main/java/io/cucumber/java8/Scenario.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@ public URI getUri() {
128128
return delegate.getUri();
129129
}
130130

131+
/**
132+
* @return the language of the Scenario.
133+
*/
134+
public String getLanguage() {
135+
return delegate.getLanguage();
136+
}
137+
131138
/**
132139
* Returns the line in the feature file of the Scenario.
133140
* <p>

0 commit comments

Comments
 (0)