-Derp
This commit is contained in:
@@ -62,7 +62,8 @@ namespace Newtonsoft.Json.Tests.JsonTextReaderTests
|
|||||||
JValue token = new JValue(long.MaxValue);
|
JValue token = new JValue(long.MaxValue);
|
||||||
|
|
||||||
await ExceptionAssert.ThrowsAsync<JsonReaderException>(
|
await ExceptionAssert.ThrowsAsync<JsonReaderException>(
|
||||||
() => token.CreateReader().ReadAsInt32Async()
|
() => token.CreateReader().ReadAsInt32Async(),
|
||||||
|
"Could not convert to integer: 9223372036854775807. Path ''."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,8 @@ namespace Newtonsoft.Json.Tests.JsonTextReaderTests
|
|||||||
JValue token = new JValue(long.MaxValue);
|
JValue token = new JValue(long.MaxValue);
|
||||||
|
|
||||||
ExceptionAssert.Throws<JsonReaderException>(
|
ExceptionAssert.Throws<JsonReaderException>(
|
||||||
() => token.CreateReader().ReadAsInt32()
|
() => token.CreateReader().ReadAsInt32(),
|
||||||
|
"Could not convert to integer: 9223372036854775807. Path ''."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user