mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 10:54:38 +00:00
Check mount point in test
This commit is contained in:
parent
232e6f2a8c
commit
02038bd8cf
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ macro_rules! encryptindex {
|
|||
#[test]
|
||||
fn [< test_version_ $version $compress $encrypt $encryptindex >]() {
|
||||
let mut pak = load_pak(include_bytes!(concat!("packs/pack_", $version, $compress, $encrypt, $encryptindex, ".pak")), Some(AES_KEY.to_string())).unwrap();
|
||||
assert_eq!(pak.mount_point(), "../mount/point/root/");
|
||||
assert_eq!(pak.version(), $exp_version);
|
||||
use std::collections::HashSet;
|
||||
let files: HashSet<String> = HashSet::from_iter(pak.files());
|
||||
|
|
Loading…
Reference in a new issue