Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test DateTime.Date conversion
  • Loading branch information
moritz committed Jan 4, 2013
1 parent 096b88b commit d0102a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S32-temporal/DateTime.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 173;
plan 174;

my $orwell = DateTime.new(year => 1984);

Expand Down Expand Up @@ -465,4 +465,6 @@ is dt(timezone => 3661).offset, 3661, 'DateTime.offset (1 hour, 1 minute, 1 seco
isa_ok DateTime.now.hour, Int, 'DateTime.now.hour isa Int';
}

is DateTime.now.Date, Date.today, 'coercion to Date';

done;

0 comments on commit d0102a3

Please sign in to comment.