Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Mar 18, 2020
1 parent d79492e commit 264cbf3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/FsCodec.SystemTextJson.Tests/CodecTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ let eventCodec = FsCodec.SystemTextJson.Codec.Create<Union>(ignoreNullOptions)
[<NoComparison>]
type Envelope = { d : JsonElement }

[<Property(MaxTest=1000)>]
let roundtrips value =
let [<Property>] roundtrips value =
let eventType, embedded =
match value with
| A e -> "A", Choice1Of2 e
Expand All @@ -32,7 +31,7 @@ let roundtrips value =
| BO e -> "BO",Choice2Of2 e
let encoded =
match embedded with
| Choice1Of2 e -> elementEncoder.Encode e
| Choice1Of2 e -> elementEncoder.Encode e
| Choice2Of2 eo -> elementEncoder.Encode eo
let enveloped = { d = encoded }

Expand Down

0 comments on commit 264cbf3

Please sign in to comment.