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/docs/tutorial-assertions/fsharp.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,4 +17,30 @@ member this.CheckPositive() = async {
17
17
let result = 1 + 1
18
18
do! check (Assert.That(result).IsPositive())
19
19
}
20
-
```
20
+
```
21
+
22
+
F# is a lot more strict with type resolution when it comes to extension methods and method overloads. Because of that you may need to annotate the type for the assertions.
0 commit comments