Skip to content

Commit

Permalink
🎨 Styles: Update docs/whats_new.md to use consistent style for TestCo…
Browse files Browse the repository at this point in the history
…nfig options description
  • Loading branch information
grivera64 committed Nov 19, 2024
1 parent be650d6 commit 250b836
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,8 @@ the signature of the `Test` method.

The `TestConfig` struct provides the following configuration options:

- `Timeout`:
- The duration to wait before timing out the test. Use 0 for no timeout.
- `FailOnTimeout`:
- `Timeout`: The duration to wait before timing out the test. Use 0 for no timeout.
- `FailOnTimeout`: Controls the behavior when a timeout occurs:
- When true, the test will return an `os.ErrDeadlineExceeded` if the test exceeds the `Timeout` duration.
- When false, the test will return the partial response received before timing out.

Expand Down

0 comments on commit 250b836

Please sign in to comment.