Skip to content

Commit f8b3b4e

Browse files
vzarytovskiibaronfel
authored andcommitted
Use FluentAssertions in unit tests
1 parent d0306f0 commit f8b3b4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/FSharp.Test.Utilities/Assert.fs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ module Assert =
44
open FluentAssertions
55
open System.Collections
66

7+
let inline shouldBeEquivalentTo (expected : ^T) (actual : ^U) =
8+
actual.Should().BeEquivalentTo(expected, "") |> ignore
9+
710
let inline shouldBe (expected : ^T) (actual : ^U) =
811
actual.Should().Be(expected, "") |> ignore
912

0 commit comments

Comments
 (0)