Fix tests
This commit is contained in:
parent
aa15931050
commit
0f33dc4380
@ -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…
Reference in New Issue
Block a user