mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 10:08:21 +02:00
Fix tests
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user