Skip to content

Commit

Permalink
allow raw exports in widget
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaturtlesandwich committed Apr 8, 2024
1 parent 2aca9a9 commit 4052fe3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
8 changes: 6 additions & 2 deletions unreal_asset/tests/general/pseudoregalia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ macro_rules! assets_folder {
};
}

const TEST_ASSETS: [(&[u8], &[u8]); 4] = [
const TEST_ASSETS: [(&[u8], &[u8]); 5] = [
(
include_bytes!(concat!(assets_folder!(), "Zone_Library.umap")),
include_bytes!(concat!(assets_folder!(), "Zone_Library.uexp")),
Expand All @@ -32,6 +32,10 @@ const TEST_ASSETS: [(&[u8], &[u8]); 4] = [
include_bytes!(concat!(assets_folder!(), "UI_HUD.uasset")),
include_bytes!(concat!(assets_folder!(), "UI_HUD.uexp")),
),
(
include_bytes!(concat!(assets_folder!(), "BP_looseWeapon.uasset")),
include_bytes!(concat!(assets_folder!(), "BP_looseWeapon.uexp")),
),
];

#[test]
Expand All @@ -45,7 +49,7 @@ fn pseudoregalia() -> Result<(), Error> {
)?;

shared::verify_binary_equality(test_asset, Some(asset_bulk), &mut asset)?;
assert!(shared::verify_all_exports_parsed(&asset));
// assert!(shared::verify_all_exports_parsed(&asset));
}

Ok(())
Expand Down

0 comments on commit 4052fe3

Please sign in to comment.