Open
Description
Hi,
Your test operation is incorrect : it compares Path(target) with target.
The code should be :
protected override void Test(TestOperation operation)
{
var existingValue = operation.Path.Find(_target);
if (!existingValue.Equals(operation.Value))
{
throw new InvalidOperationException("Value at " + operation.Path.ToString() + " does not match.");
}
}
Note: I'm unable to make a PR from where I'm writing
Metadata
Metadata
Assignees
Labels
No labels