Skip to content

Commit

Permalink
fix multi-contains in ExplainAction
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Dec 27, 2024
1 parent 6509c3b commit 71739e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class ExplainAction implements SuiteAction {
for (Map.Entry entry : multiContainsStrings) {
int count = explainString.count(entry.key);
if (count != entry.value) {
String msg = ("Explain and check failed, expect multiContains '${string}' , '${entry.value}' times, actural '${count}' times."
String msg = ("Explain and check failed, expect multiContains '${entry.key}' , '${entry.value}' times, actural '${count}' times."
+ "Actual explain string is:\n${explainString}").toString()
def t = new IllegalStateException(msg)
throw t
Expand Down

0 comments on commit 71739e0

Please sign in to comment.