public void TestJsonSchema() { var schema = new JsonSchema(); TestJsonSchemaCommon(schema); // Json should not accept plain literal Assert.AreEqual(null, schema.GetDefaultTag(new Scalar(null, null, "boom", ScalarStyle.Plain, true, false))); }
public void TestJsonSchema() { var schema = new JsonSchema(); TestJsonSchemaCommon(schema); // Json should not accept plain literal Assert.Equal(null, schema.GetDefaultTag(new Scalar(null, null, "boom", ScalarStyle.Plain, true, false))); }