Skip to content

Commit

Permalink
Fix description matcher usage (via eroshenkoam#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberowl authored Jul 15, 2021
1 parent 53238b2 commit db625da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private void parseStep(final JsonNode activity,
final Matcher descriptionMatcher = Pattern.compile("allure\\.description:(?<description>.*)")
.matcher(activityTitle);
if (descriptionMatcher.matches()) {
context.getResult().setDescription(nameMatcher.group("description"));
context.getResult().setDescription(descriptionMatcher.group("description"));
return;
}
final Matcher labelMatcher = Pattern.compile("allure\\.label\\.(?<name>.*?):(?<value>.*)")
Expand Down

0 comments on commit db625da

Please sign in to comment.