Skip to content

Commit

Permalink
override suspend fun beforeTest (#36) (#3892)
Browse files Browse the repository at this point in the history
`beforeTest` is now a `suspend` function - fix the docs accordingly
  • Loading branch information
AlexCue987 committed Feb 24, 2024
1 parent f93d6bc commit 942100d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/framework/lifecycle_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The second, related, method is to override the callback functions in the Spec. T

```kotlin
class TestSpec : WordSpec() {
override fun beforeTest(testCase: TestCase) {
override suspend fun beforeTest(testCase: TestCase) {
println("Starting a test $testCase")
}

Expand Down

0 comments on commit 942100d

Please sign in to comment.