Skip to content

Commit 4a4df10

Browse files
committed
Remove deprecated warnings (Scala 2.11 / 2.12)
1 parent 818ece6 commit 4a4df10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/sources/src/main/scala/io/cucumber/scala/Scenario.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Scenario(val delegate: TestCaseState) {
3232
*/
3333
def isFailed: Boolean = delegate.isFailed
3434

35-
@deprecated(message = "Use attach instead")
35+
@deprecated(message = "Use attach instead", since = "5.x")
3636
def embed(data: Array[Byte], mediaType: String): Unit = {
3737
delegate.embed(data, mediaType)
3838
}

0 commit comments

Comments
 (0)