Permalink
Browse files

Bug fix in nesting test.

  • Loading branch information...
1 parent b312e53 commit a535ede092b765728ade444c11db0bf90dc94b2c Timothy Totten committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/04-nest.t
View
@@ -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;
}
}

0 comments on commit a535ede

Please sign in to comment.