haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Improved error msg of floats in floatClose #399

Closed roboz0r closed 3 years ago

roboz0r commented 3 years ago

When comparing small values the default %f formatter will not show a difference between actual and expected even when the test fails. Changed to %.20g to print the full precision of the value and automatically select the most compact representation.

haf commented 3 years ago

Nice!

I'm going to remove the Windows build, unless someone would like to maintain it? "PacketPack" task failed with no output is utterly befuddling.

haf commented 3 years ago

/rebase

baronfel commented 3 years ago

This paket error is because the nuget team released a regression in their msbuild targets in the 3.1.4xx line of SDKs. You can fix it by staying on 3.1.3xx or moving to 5.0.1xx-rc2 or later SDKs.

haf commented 3 years ago

Of course they did. Has that team ever brought anything good into this world?

haf commented 3 years ago

But I don't think it's that easy because AppVeyor force-upgraded the SDK to 4xx.

haf commented 3 years ago

Thanks @roboz0r ! 🎊