Skip to content

Commit

Permalink
revert half
Browse files Browse the repository at this point in the history
not supported on mac yet
  • Loading branch information
SimonCropp committed Sep 23, 2020
1 parent 1394c7f commit 44f82bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;CS0649;xUnit1026</NoWarn>
<Version>6.19.0</Version>
<Version>6.20.0</Version>
<AssemblyVersion>1.0.0</AssemblyVersion>
<PackageTags>Json, Testing, Verify, Snapshot, Approvals</PackageTags>
<Description>Enables verification of complex models and documents.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Serialization/VerifierSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static bool TryGetToString<T>(T target, out Func<object, VerifySettings,
{typeof(ulong), (target, settings) => ((ulong) target).ToString()},
{typeof(decimal), (target, settings) => ((decimal) target).ToString(CultureInfo.InvariantCulture)},
#if NET5_0
{typeof(Half), (target, settings) => ((Half) target).ToString(CultureInfo.InvariantCulture)},
// {typeof(Half), (target, settings) => ((Half) target).ToString(CultureInfo.InvariantCulture)},
#endif
{typeof(float), (target, settings) => ((float) target).ToString(CultureInfo.InvariantCulture)},
{typeof(double), (target, settings) => ((double) target).ToString(CultureInfo.InvariantCulture)},
Expand Down

0 comments on commit 44f82bc

Please sign in to comment.