diff options
Diffstat (limited to 'test-suite/tests/display.rs')
-rw-r--r-- | test-suite/tests/display.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test-suite/tests/display.rs b/test-suite/tests/display.rs index ca4fdd8..0174de1 100644 --- a/test-suite/tests/display.rs +++ b/test-suite/tests/display.rs @@ -1,11 +1,10 @@ extern crate toml; -use std::collections::BTreeMap; - use toml::Value::{String, Integer, Float, Boolean, Array, Table}; +use toml::map::Map; macro_rules! map( ($($k:expr => $v:expr),*) => ({ - let mut _m = BTreeMap::new(); + let mut _m = Map::new(); $(_m.insert($k.to_string(), $v);)* _m }) ); |