Fix tests

This commit is contained in:
Yehuda Katz
2019-11-29 16:21:05 -08:00
parent 0f193c2337
commit a1e21828d6
33 changed files with 39 additions and 61 deletions

View File

@ -48,10 +48,7 @@ fn process_docker_output(cmd_output: &str, tag: Tag) -> Result<Vec<Value>, Shell
let mut dict = TaggedDictBuilder::new(&tag);
for (i, v) in values.iter().enumerate() {
dict.insert(
header[i].to_string(),
value::string(v.trim().to_string()),
);
dict.insert(header[i].to_string(), value::string(v.trim().to_string()));
}
output.push(dict.into_value());