Skip to content

Commit 4de3e11

Browse files
committed
Refactor test suite context initialization in README
1 parent f1e9706 commit 4de3e11

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,10 @@ Use it like this:
161161

162162
```fsharp
163163
let reporter = MyCustomReporter()
164-
let results = runTestSuiteWithContext reporter suite
164+
let results =
165+
runTestSuiteWithContext
166+
suite
167+
{ TestContext.New with Reporter = reporter }
165168
```
166169

167170
Available reporters (available in the `Sprout.Reporters` namespace):

0 commit comments

Comments
 (0)