Fix tests and packages for all features.

This commit is contained in:
Stephen Chung
2020-04-27 22:52:20 +08:00
parent d3a97dc86b
commit 41366d08fe
4 changed files with 6 additions and 7 deletions

View File

@@ -12,12 +12,10 @@ use crate::stdlib::{
};
fn map_get_keys(map: &mut Map) -> Vec<Dynamic> {
map.iter()
.map(|(k, _)| k.to_string().into())
.collect::<Vec<_>>()
map.iter().map(|(k, _)| k.to_string().into()).collect()
}
fn map_get_values(map: &mut Map) -> Vec<Dynamic> {
map.iter().map(|(_, v)| v.clone()).collect::<Vec<_>>()
map.iter().map(|(_, v)| v.clone()).collect()
}
#[cfg(not(feature = "no_object"))]