diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-05 11:24:44 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-05 11:24:44 -0700 |
| commit | 914b6fead9eaec4f5ab3d7cbf539f5da8d28ff35 (patch) | |
| tree | 951fa07c50257a2f302ee8bab6ffad37fd63480a /src | |
| parent | 4e515c14af8598f5e0d8e62847741523e7c14ba5 (diff) | |
| download | rust-914b6fead9eaec4f5ab3d7cbf539f5da8d28ff35.tar.gz rust-914b6fead9eaec4f5ab3d7cbf539f5da8d28ff35.zip | |
test: Fix smallintmap test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/bench/std-smallintmap.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/bench/std-smallintmap.rs b/src/test/bench/std-smallintmap.rs index 7f9a55ab167..5fc36afceb5 100644 --- a/src/test/bench/std-smallintmap.rs +++ b/src/test/bench/std-smallintmap.rs @@ -2,16 +2,16 @@ use std; import std::smallintmap; -import std::smallintmap::smallintmap; +import std::smallintmap::SmallIntMap; import io::WriterUtil; -fn append_sequential(min: uint, max: uint, map: smallintmap<uint>) { +fn append_sequential(min: uint, max: uint, map: SmallIntMap<uint>) { for uint::range(min, max) |i| { map.insert(i, i + 22u); } } -fn check_sequential(min: uint, max: uint, map: smallintmap<uint>) { +fn check_sequential(min: uint, max: uint, map: SmallIntMap<uint>) { for uint::range(min, max) |i| { assert map.get(i) == i + 22u; } |
