fix(接口自动化): 合并pr 修复JSONPath断言不等于 BUG
This commit is contained in:
parent
a9530d05b1
commit
793bfe1f84
|
@ -172,7 +172,7 @@ public class JSONPathAssertion extends AbstractTestElement implements Serializab
|
|||
refFlag = str.equals(getExpectedValue());
|
||||
break;
|
||||
case "NOT_EQUALS":
|
||||
refFlag = !str.contains(getExpectedValue());
|
||||
refFlag = !str.equals(getExpectedValue());
|
||||
break;
|
||||
}
|
||||
return refFlag;
|
||||
|
|
Loading…
Reference in New Issue