Fix #5270: another test I did not update properly.
This commit is contained in:
parent
db0a13b986
commit
3896d46c0a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue