Skip to content

Commit 3896d46

Browse files
committed
Fix #5270: another test I did not update properly.
1 parent db0a13b commit 3896d46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/trie.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ mod tests {
462462
m.insert(x, x / 2);
463463
}
464464

465-
let mut n = uint::max_value - 9999;
465+
let mut n = uint::max_value - 10000;
466466
for m.each |k, v| {
467467
if n == uint::max_value - 5000 { break }
468468
assert!(n < uint::max_value - 5000);
@@ -499,7 +499,7 @@ mod tests {
499499
m.insert(x, x / 2);
500500
}
501501

502-
let mut n = uint::max_value;
502+
let mut n = uint::max_value - 1;
503503
for m.each_reverse |k, v| {
504504
if n == uint::max_value - 5000 { break }
505505
assert!(n > uint::max_value - 5000);

0 commit comments

Comments
 (0)