Skip to content

Commit 04ab29d

Browse files
xperiandriclaude
andcommitted
fixup! test: FrozenSet against the set contracts
The assertion helpers of `main` are static classes with tupled arguments: the Option tests call `OverrideAssert.OptionMatches (expected, actual, message)` where they called the module function `OverrideAssert.optionMatches`. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 3904a1c commit 04ab29d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎tests/FSharp.Collections.Immutable.Tests/FrozenSet/FrozenSetOptionTests.fs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ type FrozenSetOptionTests () =
2121
member _.``tryGetValue returns an option`` (value : int) =
2222
let found : int option = FrozenSet.tryGetValue value numbers
2323

24-
OverrideAssert.optionMatches
25-
(FSharp.Collections.Immutable.FrozenSet.tryGetValue value numbers)
26-
found
24+
OverrideAssert.OptionMatches (
25+
FSharp.Collections.Immutable.FrozenSet.tryGetValue value numbers,
26+
found,
2727
"Option.FrozenSet.tryGetValue must match the default"
28+
)
2829

2930
[<TestMethod>]
3031
member _.``choose takes a chooser of options`` () =

0 commit comments

Comments
 (0)