Skip to content

Commit cfef71f

Browse files
authored
Merge pull request #2903 from tbkka/tbkka/RemoveInvalidNumericTest
Remove an invalid numeric JSON test
2 parents 9ebb444 + 2d7dc96 commit cfef71f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Tests/Foundation/Tests/TestJSONEncoder.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,6 @@ class TestJSONEncoder : XCTestCase {
750750
testErrorThrown("Double", "-.1", errorMessage: "The given data was not valid JSON.")
751751
testErrorThrown("Int32", "+1", errorMessage: "The given data was not valid JSON.")
752752
testErrorThrown("Int", ".012", errorMessage: "The given data was not valid JSON.")
753-
testErrorThrown("Double", "2.7976931348623158e+308", errorMessage: "The given data was not valid JSON.")
754753
}
755754

756755
func test_snake_case_encoding() throws {

0 commit comments

Comments
 (0)