-Lots and lots of JSON Schema work
-JSON Schema spec tests added -Added Path to JToken -Fixed JTokenWriter returning null reference -Build script logging -Documentation -Updated to NUnit 2.6
This commit is contained in:
@@ -1068,12 +1068,12 @@ namespace Newtonsoft.Json.Tests
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void NoAdditionalProperties()
|
||||
public void NoAdditionalItems()
|
||||
{
|
||||
string schemaJson = @"{
|
||||
""type"":""array"",
|
||||
""items"": [{""type"":""string""},{""type"":""integer""}],
|
||||
""additionalProperties"": false
|
||||
""additionalItems"": false
|
||||
}";
|
||||
|
||||
string json = @"[1, 'a', null]";
|
||||
|
||||
Reference in New Issue
Block a user