Fix issues in libtest

This commit is contained in:
Adolfo Ochagavía 2014-06-28 16:37:28 +02:00
parent 2f16d9ef00
commit 903759e611
1 changed files with 1 additions and 1 deletions

View File

@ -1104,7 +1104,7 @@ fn calc_result(desc: &TestDesc, task_succeeded: bool) -> TestResult {
impl ToJson for Metric {
fn to_json(&self) -> json::Json {
let mut map = box TreeMap::new();
let mut map = TreeMap::new();
map.insert("value".to_string(), json::Number(self.value));
map.insert("noise".to_string(), json::Number(self.noise));
json::Object(map)