-Refactor

-Tests
This commit is contained in:
James Newton-King
2017-10-15 18:51:12 +13:00
parent 393c456d5e
commit 78e899fd50
9 changed files with 128 additions and 35 deletions
@@ -460,7 +460,7 @@ namespace Newtonsoft.Json.Tests.JsonTextReaderTests
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG
reader.SetCharBuffer(new char[129]);
reader.CharBuffer = new char[129];
#endif
for (int i = 0; i < 15; i++)
@@ -492,7 +492,7 @@ namespace Newtonsoft.Json.Tests.JsonTextReaderTests
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG
reader.SetCharBuffer(new char[129]);
reader.CharBuffer = new char[129];
#endif
for (int i = 0; i < 14; i++)
@@ -665,7 +665,7 @@ namespace Newtonsoft.Json.Tests.JsonTextReaderTests
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG
reader.SetCharBuffer(new char[2]);
reader.CharBuffer = new char[2];
#endif
await reader.ReadAsync();