pull/9205/head
James Newton-King 3 years ago
parent aa15931050
commit 0f33dc4380
No known key found for this signature in database
GPG Key ID: A66B2F456BF5526
  1. 2
      csharp/src/Google.Protobuf.Test/JsonParserTest.cs
  2. 2
      csharp/src/Google.Protobuf.Test/JsonTokenizerTest.cs

@ -553,7 +553,7 @@ namespace Google.Protobuf
[Test]
// Skip these test cases in .NET 5 because floating point parsing supports bigger values.
// These big values won't throw an error in the test.
#if !NET5_0
#if !NETCOREAPP3_1_OR_GREATER
[TestCase("1.7977e308")]
[TestCase("-1.7977e308")]
[TestCase("1e309")]

@ -201,7 +201,7 @@ namespace Google.Protobuf
[TestCase("--1")]
// Skip these test cases in .NET 5 because floating point parsing supports bigger values.
// These big values won't throw an error in the test.
#if !NET5_0
#if !NETCOREAPP3_1_OR_GREATER
[TestCase("-1.7977e308")]
[TestCase("1.7977e308")]
#endif

Loading…
Cancel
Save