-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert WithData to testContainer level #4003
Comments
Duplicates #3901 |
If you make sure there's at least two arguments to "Test withData" - {
withData(
PythagTriple(3, 4, 5),
PythagTriple(6, 8, 10),
){ (a, b, c) ->
"Do something" {
...
}
"Check isPythagTriple" {
isPythagTriple(a, b, c) shouldBe true
}
}
} |
Nope. The same error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please describe the feature you'd like to see including any solutions in mind if you have any
Before 5 version kotest have ability writing steps in withData section. For example:
But in 5.8 version this code drop error
suspend infix operator fun String.invoke(test: suspend FreeSpecTerminalScope.() -> Unit): Unit' can't be called in this context by implicit receiver. Use the explicit one if necessary
Please revert to old behaviour. It's more usable.
The text was updated successfully, but these errors were encountered: