Skip to content

Commit

Permalink
Update isolation_mode.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Jan 9, 2019
1 parent 4edfd48 commit b69e016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/isolation_mode.md
Expand Up @@ -6,7 +6,7 @@ Note: Isolation modes replace _One Instance Per Test_ which was a setting in ver
All specs allow you to control how the test engine creates new instances of Specs for test cases. By default, one instance of the Spec
class is created and then each test _lambda_ is exected in turn until all tests have completed.

For example, in the following spec, the output would be "Hello From Sam", as each test is executed in turn instance the same class.
For example, in the following spec, the output would be "Hello From Sam", as each test is executed in turn in the same instance.

```kotlin
class SingleInstanceExample : WordSpec({
Expand Down Expand Up @@ -166,4 +166,4 @@ This time, the output will be:
a=0
b=1
a=0
c=1
c=1

0 comments on commit b69e016

Please sign in to comment.