Update to net50 and fix warnings (#2424)
This commit is contained in:
@@ -187,7 +187,7 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
{
|
||||
Dictionary<float, int> dictionary = new Dictionary<float, int> { { float.MaxValue, 1 } };
|
||||
string output = JsonConvert.SerializeObject(dictionary);
|
||||
#if !NETSTANDARD2_0
|
||||
#if !(NETSTANDARD2_0 || NETSTANDARD1_3)
|
||||
Assert.AreEqual(@"{""3.40282347E+38"":1}", output);
|
||||
#else
|
||||
Assert.AreEqual(@"{""3.4028235E+38"":1}", output);
|
||||
|
||||
Reference in New Issue
Block a user