fix(接口自动化): 合并pr 修复JSONPath断言不等于 BUG

This commit is contained in:
fit2-zhao 2021-07-15 14:12:47 +08:00 committed by fit2-zhao
parent a9530d05b1
commit 793bfe1f84
1 changed files with 1 additions and 1 deletions

View File

@ -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;