Assume not oneway by default

This commit is contained in:
Pieter Vander Vennet 2020-11-17 15:57:22 +01:00
parent 1b67267add
commit f003662d8c
2 changed files with 11 additions and 6 deletions

View file

@ -20,6 +20,14 @@ namespace AspectedRouting.Test
return JsonParser.AspectFromJson(new Context(), json, "test.json");
}
private IExpression MustMatchJsonWithOr()
{
var json = "{" +
"\"name\":\"test\"," +
"\"description\":\"test\"," +
"\"$mustMatch\":{\"a\":\"b\",\"x\":\"y\"}}";
return JsonParser.AspectFromJson(new Context(), json, "test.json");
}
[Fact]
public void TestAll_AllTags_Yes()