You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -555,7 +555,7 @@ Consistently(func() bool {
555
555
}).Should(BeNumerically("<", 10))
556
556
```
557
557
558
-
note taht`StopTrying(message).Successfully()` is not intended for use with `Eventually`. `Eventually`*always* interprets `StopTrying` as a failure.
558
+
Note that`StopTrying(message).Successfully()` is not intended for use with `Eventually`. `Eventually`*always* interprets `StopTrying` as a failure.
559
559
560
560
You can add additional information to this failure message in a few ways. You can wrap an error via `StopTrying(message).Wrap(wrappedErr)` - now the output will read `<message>: <wrappedErr.Error()>`.
561
561
@@ -816,7 +816,7 @@ is just like `BeTrue()` but allows you to pass in a reason. This is a best prac
816
816
Ω(ACTUAL).Should(BeFalse())
817
817
```
818
818
819
-
succeeds if `ACTUAL` is `bool` typed and has the value `false`. It is an error for `ACTUAL` to not be a `bool`. You should generaly use `BeFalseBecause` instead to pas in a reason for a more helpful error message.
819
+
succeeds if `ACTUAL` is `bool` typed and has the value `false`. It is an error for `ACTUAL` to not be a `bool`. You should generally use `BeFalseBecause` instead to pas in a reason for a more helpful error message.
820
820
821
821
### BeFalseBecause(reason)
822
822
@@ -3203,7 +3203,7 @@ This will now emit a ranking result that will highlight the winning algorithm (i
3203
3203
-`LowerMaxIsBetter`
3204
3204
-`HigherMaxIsBetter`
3205
3205
3206
-
We can also inspect the statistics of the two algorithms programatically. `experiment.GetStats` returns a `Stats` object that provides access to the following `Stat`s:
3206
+
We can also inspect the statistics of the two algorithms programmatically. `experiment.GetStats` returns a `Stats` object that provides access to the following `Stat`s:
3207
3207
3208
3208
-`StatMin` - the data point with the smallest value
3209
3209
-`StatMax` - the data point with the highest values
0 commit comments