Skip to content

Commit

Permalink
Fix bogus DateTime leapsecond proptest
Browse files Browse the repository at this point in the history
Math was wrong and the date actually doesn't exist. Resolves part of
rakudo/rakudo#2097 R#2097
  • Loading branch information
zoffixznet committed Oct 17, 2018
1 parent 5ef9b0c commit 383ca21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S32-temporal/DateTime.t
Expand Up @@ -800,8 +800,7 @@ subtest 'synthetics not allowed in date formats' => {
'Same (leap seconds) (1)';
is DateTime.new('2016-12-31T23:59:60Z') <=> DateTime.new('2016-12-31T22:59:60-01:00'), Order::Same,
'Same (leap seconds) (2)';
#?rakudo skip 'Cannot parse leap on non-23:59'
is DateTime.new('2016-12-31T23:59:60Z') <=> DateTime.new('2017-01-01T01:00:60+01:00'), Order::Same,
is DateTime.new('2016-12-31T23:59:60Z') <=> DateTime.new('2017-01-01T00:59:60+01:00'), Order::Same,
'Same (leap seconds) (3)';
}
}
Expand Down

0 comments on commit 383ca21

Please sign in to comment.