summaryrefslogtreecommitdiff
path: root/ayafs/src/tests/common
diff options
context:
space:
mode:
authorChuyan Zhang <me@zcy.moe>2023-11-30 12:01:11 -0800
committerChuyan Zhang <me@zcy.moe>2023-11-30 12:01:11 -0800
commitfd125947c9db0b33761414e65e919f73d9bf1815 (patch)
treec4c66d95ba85601427928aa7f23659590055d464 /ayafs/src/tests/common
parent1eac97eea4ec0bcef0be061a2cba93a584355283 (diff)
downloadmyfs-fd125947c9db0b33761414e65e919f73d9bf1815.tar.gz
myfs-fd125947c9db0b33761414e65e919f73d9bf1815.zip
Refactor workspace
Diffstat (limited to 'ayafs/src/tests/common')
-rw-r--r--ayafs/src/tests/common/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/ayafs/src/tests/common/mod.rs b/ayafs/src/tests/common/mod.rs
deleted file mode 100644
index 3abfcb4..0000000
--- a/ayafs/src/tests/common/mod.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use crate::block_device::memory_disk::MemoryDisk;
-use crate::AyaFS;
-use std::sync::Arc;
-
-#[allow(unused)]
-pub(crate) fn setup() -> AyaFS {
- let mem_disk = Arc::new(MemoryDisk::new(1059715));
- AyaFS::new(mem_disk, 1059715)
-}