File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -598,11 +598,11 @@ class TestJSONEncoder : XCTestCase {
598598 }
599599
600600 // Invalid JSON number formats
601- testErrorThrown ( " Int8 " , " 0000000000000000000000000000001 " , errorMessage: " The operation could not be completed " )
602- testErrorThrown ( " Double " , " -.1 " , errorMessage: " The operation could not be completed " )
603- testErrorThrown ( " Int32 " , " +1 " , errorMessage: " The operation could not be completed " )
604- testErrorThrown ( " Int " , " .012 " , errorMessage: " The operation could not be completed " )
605- testErrorThrown ( " Double " , " 2.7976931348623158e+308 " , errorMessage: " The operation could not be completed " )
601+ testErrorThrown ( " Int8 " , " 0000000000000000000000000000001 " , errorMessage: " The given data was not valid JSON. " )
602+ testErrorThrown ( " Double " , " -.1 " , errorMessage: " The given data was not valid JSON. " )
603+ testErrorThrown ( " Int32 " , " +1 " , errorMessage: " The given data was not valid JSON. " )
604+ testErrorThrown ( " Int " , " .012 " , errorMessage: " The given data was not valid JSON. " )
605+ testErrorThrown ( " Double " , " 2.7976931348623158e+308 " , errorMessage: " The given data was not valid JSON. " )
606606 }
607607
608608
You can’t perform that action at this time.
0 commit comments