File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/net-constraints-nunit3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public override ConstraintResult ApplyTo<TActual>(TActual actual)
114114 {
115115 ConstraintResult nested = valueConstraint . Resolve ( ) . ApplyTo ( XPathEvaluate ( actual ) ) ;
116116 Description = "XML with XPath " + xPath + " evaluated to " + nested . ActualValue ;
117- return new EvaluateXPathConstraintResult ( this , actual , nested ) ;
117+ return new HasXPathConstraintResult ( this , actual , nested ) ;
118118 }
119119
120120 /// <summary>
@@ -146,15 +146,15 @@ private string XPathEvaluate(object input)
146146 /// <summary>
147147 /// Result of a EvaluateXPathConstraint.
148148 /// </summary>
149- public class EvaluateXPathConstraintResult : ConstraintResult
149+ public class HasXPathConstraintResult : ConstraintResult
150150 {
151151 private readonly EvaluateXPathConstraint constraint ;
152152 private readonly ConstraintResult nestedResult ;
153153
154154 /// <summary>
155155 /// Creates the result.
156156 /// </summary>
157- public EvaluateXPathConstraintResult ( EvaluateXPathConstraint constraint , object actual , ConstraintResult nestedResult )
157+ public HasXPathConstraintResult ( EvaluateXPathConstraint constraint , object actual , ConstraintResult nestedResult )
158158 : base ( constraint , actual , nestedResult . IsSuccess )
159159 {
160160 this . constraint = constraint ;
You can’t perform that action at this time.
0 commit comments