Skip to content

Commit

Permalink
Test: Align valid strings with grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 authored and ptomato committed Aug 16, 2022
1 parent 52f0de1 commit 4a6f8c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions polyfill/test/validStrings.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@ const calendarDateTime = seq(dateTime, [calendar]);
const calendarDateTimeTimeRequired = seq(date, timeSpecSeparator, [timeZone], [calendar]);
const calendarTime = choice(
seq(timeDesignator, timeSpec, [timeZone], [calendar]),
seq(timeSpec, [timeZone], calendar),
seq(timeSpecWithOptionalTimeZoneNotAmbiguous)
seq(timeSpecWithOptionalTimeZoneNotAmbiguous, [calendar])
);

const durationFractionalPart = withCode(between(1, 9, digit()), (data, result) => {
Expand Down

0 comments on commit 4a6f8c7

Please sign in to comment.