Skip to content

Commit 48f95df

Browse files
committed
Merge PR #768, which solves #761. Update History.md
2 parents 8e232b4 + 98a45a4 commit 48f95df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

History.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [1.2.0-SNAPSHOT (Git master)](https://github.com/cucumber/cucumber-jvm/compare/v1.1.8...master) (Not released)
22

3+
* [Scala] Fixing randomly failing tests in the Scala module ([#768](https://github.com/cucumber/cucumber-jvm/pull/768), [#761](https://github.com/cucumber/cucumber-jvm/issues/761) Manuel Bernhardt)
34
* [JRuby] cucumber-jruby backend fails to build when `RUBY_VERSION` is present in environment ([#718](https://github.com/cucumber/cucumber-jvm/issues/718) Aslak Hellesøy)
45
* [Core] `DataTable.asMap()` returns a `LinkedHashMap`, ensuring key iteration order is the same as in the gherkin table ([#764](https://github.com/cucumber/cucumber-jvm/issues/764) Aslak Hellesøy).
56
* [Core] Spring dirty cukes test fix ([#708](https://github.com/cucumber/cucumber-jvm/pull/708) Mykola Gurov)

scala/src/main/scala/cucumber/api/scala/ScalaDsl.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,6 @@ trait ScalaDsl { self =>
492492
}
493493

494494
private def functionParams(f: Any) =
495-
f.getClass.getDeclaredMethods.filterNot(_.isBridge).head.getGenericParameterTypes
495+
f.getClass.getDeclaredMethods.filter(m => "apply".equals(m.getName) && !m.isBridge).head.getGenericParameterTypes
496496
}
497497
}

0 commit comments

Comments
 (0)