Skip to content

Commit

Permalink
Merge pull request #1604 from 9rnsr/enforceProp
Browse files Browse the repository at this point in the history
fix property enforcement
  • Loading branch information
monarchdodra committed Sep 28, 2013
2 parents 1ceddc4 + aead672 commit 18e59fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/random.d
Expand Up @@ -2503,7 +2503,7 @@ unittest
uint i = 0;
for (; !sample1.empty; sample1.popFront())
{
assert(sample1.front == sample1.index());
assert(sample1.front == sample1.index);
++i;
}
assert(i == 789);
Expand All @@ -2518,7 +2518,7 @@ unittest
i = 0;
for (; !sample2.empty; sample2.popFront())
{
assert(sample2.front == sample2.index());
assert(sample2.front == sample2.index);
++i;
}
assert(i == 789);
Expand Down

0 comments on commit 18e59fa

Please sign in to comment.