Skip to content

Commit

Permalink
LDEV-4278 updated comments and added another test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdyer committed Jul 20, 2023
1 parent a0fdf3f commit 51b7613
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/functions/lsWeek.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
// in Catalan Monday is the first day of the week
expect(lsWeek(date=date, locale="Catalan")).tobe(3);
}else{
// in Arabic (Yemen) Saturday is the first day of the week
// after Java 8 in Arabic (Yemen) Sunday is the first day of the week
expect(lsWeek(date=date, locale="Arabic (Yemen)")).tobe(4);
// in Catalan Monday is the first day of the week
// after Java 8 in Catalan Sunday is the first day of the week
expect(lsWeek(date=date, locale="Catalan")).tobe(4);
// Testing Iraq because it still has Saturday as the first day of the week after Java 8
expect(lsWeek(date =date, locale="ar_IQ")).toBe(3);
}
// in English (Canada) Sunday is the first day of the week
expect(lsWeek(date=date, locale="English (Canada)")).tobe(4);
Expand Down

0 comments on commit 51b7613

Please sign in to comment.