Fix #5270: another test I did not update properly.

This commit is contained in:
Felix S. Klock II 2013-07-11 16:56:49 +02:00
parent db0a13b986
commit 3896d46c0a
1 changed files with 2 additions and 2 deletions

View File

@ -462,7 +462,7 @@ mod tests {
m.insert(x, x / 2);
}
let mut n = uint::max_value - 9999;
let mut n = uint::max_value - 10000;
for m.each |k, v| {
if n == uint::max_value - 5000 { break }
assert!(n < uint::max_value - 5000);
@ -499,7 +499,7 @@ mod tests {
m.insert(x, x / 2);
}
let mut n = uint::max_value;
let mut n = uint::max_value - 1;
for m.each_reverse |k, v| {
if n == uint::max_value - 5000 { break }
assert!(n > uint::max_value - 5000);