-Refactor
-Tests
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user