Skip to content

Commit

Permalink
Merge branch 'lpbak-issue-103'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrozanec committed Sep 14, 2016
2 parents 6763716 + 5e7304e commit 5b62075
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ public void testEveryFiveMinutesBetween14and15AndBetween18And19EveryDay() throws
public void testEveryDayEveryFourHoursFromHour2() throws Exception {
assertExpression("0 0 2/4 * * ?", "");
}

/*
* Issue #103
*/
@Test
public void testDescriptionDayOfWeek() {
assertExpression("* 0/1 * ? * TUE", "every minute at Tuesday day");
}

private void assertExpression(String cron, String description){
assertEquals(description, descriptor.describe(parser.parse(cron)));
Expand Down

0 comments on commit 5b62075

Please sign in to comment.