DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
links: the capped-read test is native-only, like reload_capped
Brandon Thomasb8070d814c2b
diff --git a/crates/engine/src/cmd/links.rs b/crates/engine/src/cmd/links.rsindex 335b65b50..70ad8dac1 100644--- a/crates/engine/src/cmd/links.rs+++ b/crates/engine/src/cmd/links.rs@@ -600,6 +600,7 @@ mod tests {}/// A linked file's size is the document's choice, so a link is read under a cap (#1596).+ #[cfg(not(target_arch = "wasm32"))]#[test]fn a_linked_file_over_the_cap_is_refused_instead_of_read() {let dir = std::env::temp_dir().join(format!("dc-link-cap-{}", std::process::id()));