Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug fix in nesting test.

  • Loading branch information...
commit a535ede092b765728ade444c11db0bf90dc94b2c 1 parent b312e53
Timothy Totten authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  t/04-nest.t
View
2  t/04-nest.t
@@ -69,7 +69,7 @@ class CompanyUser {
## A real application would use today, but our test is hard coded.
#my $now = Date.today;
my $now = Date.new('2012-07-17');
- return ((Date.today - $.birthday) / 365).Int;
+ return (($now - $.birthday) / 365).Int;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.