From 02038bd8cfc82571409f326ce1fa5d0fd9045c0c Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Thu, 19 Jan 2023 00:24:29 -0600 Subject: [PATCH] Check mount point in test --- tests/test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.rs b/tests/test.rs index f4f4a1a..28fc018 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -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 = HashSet::from_iter(pak.files());