mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 14:15:24 +00:00
Remove maplit dependency and stop using a macro for hashmaps (#982)
This commit is contained in:
@@ -108,7 +108,6 @@ pub fn snapshot_dir_no_meta(
|
||||
mod test {
|
||||
use super::*;
|
||||
|
||||
use maplit::hashmap;
|
||||
use memofs::{InMemoryFs, VfsSnapshot};
|
||||
|
||||
#[test]
|
||||
@@ -132,9 +131,7 @@ mod test {
|
||||
let mut imfs = InMemoryFs::new();
|
||||
imfs.load_snapshot(
|
||||
"/foo",
|
||||
VfsSnapshot::dir(hashmap! {
|
||||
"Child" => VfsSnapshot::empty_dir(),
|
||||
}),
|
||||
VfsSnapshot::dir([("Child", VfsSnapshot::empty_dir())]),
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user