Skip to content

Commit 0527298

Browse files
committed
Update Readme with usage example for reporter class
1 parent 5d358d1 commit 0527298

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,11 @@ Use it like this:
172172

173173
```fsharp
174174
let reporter = MyCustomReporter() :> ITestReporter
175-
let results =
175+
let failedCount =
176176
runTestSuiteWithContext
177177
suite
178178
{ TestContext.New with Reporter = reporter }
179+
|> Async.RunSynchronously
179180
```
180181

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

0 commit comments

Comments
 (0)