test: remove redundant coverage
This commit is contained in:
1 parent
6138e248cb
commit
6f0825c321
7 files changed
+7
-116
No files matched your search
@@ -672,16 +672,6 @@ mod tests {
|
||||
assert!(mods.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn scan_mods_finds_jar_files() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
let dir = setup_mods_dir(tmp.path(), "inst");
|
||||
std::fs::write(dir.join("cool-mod.jar"), b"PK\x03\x04").unwrap();
|
||||
std::fs::write(dir.join("other-mod.jar.disabled"), b"PK\x03\x04").unwrap();
|
||||
let mods = scan_mods(tmp.path(), "inst");
|
||||
assert_eq!(mods.len(), 2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn scan_mods_enabled_disabled_flags() {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
|
||||
Reference in new issue
Block a user