Bump deps (#54)

This commit is contained in:
Patrick Stevens
2023-12-30 12:50:53 +00:00
committed by GitHub
parent 79d7502f3f
commit ed0e4da0a3
16 changed files with 92 additions and 97 deletions

View File

@@ -0,0 +1,24 @@
namespace WoofWare.Myriad.Plugins.Test
open FsCheck
open ConsumePlugin
open NUnit.Framework
open FsUnitTyped
module TestRemoveOptions =
let shortenProperty (f : RecordType) =
let g = RecordType.shorten f
g.B |> shouldEqual f.B
g.C |> shouldEqual f.C
match f.A with
| None -> g.A |> shouldEqual (RecordType.DefaultA ())
| Some a -> g.A |> shouldEqual a
true
[<Test>]
let ``shorten works`` () =
Check.QuickThrowOnFailure shortenProperty