diff --git a/README.md b/README.md index 6fa847839..6225660b1 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,8 @@ verify { car.drive(Direction.NORTH) } confirmVerified(car) ``` -Note: the spy object is a copy of the passed object. +Note 1: the spy object is a copy of the passed object. +Note 2: there is a known issue if using a spy with a suspending function: https://github.com/mockk/mockk/issues/554 ### Relaxed mock @@ -873,6 +874,8 @@ runTest { } ``` +Note: there is a known issue if using a spy with a suspending function: https://github.com/mockk/mockk/issues/554 + ### Extension functions There are three types of extension function in Kotlin: