Skip to content

Commit

Permalink
test: minor change to cucumber expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeltour committed Nov 27, 2022
1 parent 0fab5c8 commit c733273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/org/w3c/epubcheck/test/TestConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void setBasepath(String basepath)
this.basepath = basepath;
}

@And("(the) default locale (is )set to ('){locale}(')")
@And("(the )default locale (is )set to ('){locale}(')")
public void setDefaultLocale(Locale defaultLocale)
{
this.defaultLocale = defaultLocale;
Expand All @@ -145,14 +145,14 @@ public void setProfile(EPUBProfile profile)
this.profile = profile;
}

@And("(the) reporting level (is )set to {severity}")
@And("(the )reporting level (is )set to {severity}")
public void setReportingLevel(Severity severity)
{

report.setReportingLevel(ReportingLevel.getReportingLevel(severity));
}

@And("(the) reporting locale (is )set to ('){locale}(')")
@And("(the )reporting locale (is )set to ('){locale}(')")
public void setReportingLocale(Locale locale)
{
report.setLocale(locale);
Expand Down

0 comments on commit c733273

Please sign in to comment.