From 928c41a63cc13bdde39021f42cc3bd9318a8464f Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 20 Aug 2024 15:33:58 +0200 Subject: [PATCH] test: fix wasm with adding fs feature gates --- src/containers/file.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/containers/file.rs b/src/containers/file.rs index 220299c9..a8b16eeb 100644 --- a/src/containers/file.rs +++ b/src/containers/file.rs @@ -267,7 +267,7 @@ mod test { schema_id: rgb::SchemaId::from_str( "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA#distant-history-exotic", ) - .unwrap(), + .unwrap(), flags: Default::default(), timestamp: Default::default(), issuer: Default::default(), @@ -365,7 +365,7 @@ mod test { schema_id: rgb::SchemaId::from_str( "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA#distant-history-exotic", ) - .unwrap(), + .unwrap(), flags: Default::default(), timestamp: Default::default(), issuer: Default::default(), @@ -404,6 +404,7 @@ mod test { } } + #[cfg(feature = "fs")] #[test] fn transfer_save_load_round_trip() { let transfer =