mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
Remove maplit dependency and stop using a macro for hashmaps (#982)
This commit is contained in:
parent
d9ab0e7de8
commit
34106f470f
13 changed files with 111 additions and 108 deletions
|
|
@ -116,7 +116,6 @@ pub fn snapshot_lua_init(
|
|||
mod test {
|
||||
use super::*;
|
||||
|
||||
use maplit::hashmap;
|
||||
use memofs::{InMemoryFs, VfsSnapshot};
|
||||
|
||||
#[test]
|
||||
|
|
@ -263,9 +262,7 @@ mod test {
|
|||
let mut imfs = InMemoryFs::new();
|
||||
imfs.load_snapshot(
|
||||
"/root",
|
||||
VfsSnapshot::dir(hashmap! {
|
||||
"init.lua" => VfsSnapshot::file("Hello!"),
|
||||
}),
|
||||
VfsSnapshot::dir([("init.lua", VfsSnapshot::file("Hello!"))]),
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue