diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-07-11 16:56:49 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2013-07-11 16:56:49 +0200 |
| commit | 3896d46c0a6b99ef166bdc29220ef6c85ad8bc8d (patch) | |
| tree | 585b2918e570a27539791b54b4d684d0b1f5373b /src/libstd | |
| parent | db0a13b9865510ec07f7597e11009eabc2676afc (diff) | |
| download | rust-3896d46c0a6b99ef166bdc29220ef6c85ad8bc8d.tar.gz rust-3896d46c0a6b99ef166bdc29220ef6c85ad8bc8d.zip | |
Fix #5270: another test I did not update properly.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/trie.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/trie.rs b/src/libstd/trie.rs index 50552fd7547..f4597f4b08e 100644 --- a/src/libstd/trie.rs +++ b/src/libstd/trie.rs @@ -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); |
