Skip to content

Commit

Permalink
Use fixtures with more distinctive values in .later() test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Jepeway committed Apr 26, 2015
1 parent d5b51d1 commit 16ce2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S32-temporal/DateTime.t
Expand Up @@ -598,8 +598,8 @@ is DateTime.now.Date, Date.today, 'coercion to Date';

# check that timezones are preserved
{
is +DateTime.new(0, :timezone(1)).later(seconds => 1).timezone,
1,
is +DateTime.new(0, :timezone(23)).later(seconds => 0).timezone,
23,
'.later preserves timezone';
}

Expand Down

0 comments on commit 16ce2be

Please sign in to comment.