diff --git a/crates/thing-core/tests/resolve.rs b/crates/thing-core/tests/resolve.rs index d8181d4..342e773 100644 --- a/crates/thing-core/tests/resolve.rs +++ b/crates/thing-core/tests/resolve.rs @@ -955,3 +955,17 @@ fn a_slot_naming_a_param_of_another_kind_is_invalid() { } fn stack_test_depth() -> usize { std::env::var("DEPTH").unwrap().parse().unwrap() } + +#[test] +fn probe_build_only() { + big(|| { + let node = chain(stack_test_depth(), false); + let document = surface(node, &[]); + eprintln!("built"); + let copy = document.clone(); + eprintln!("cloned"); + drop(copy); + drop(document); + eprintln!("dropped"); + }); +}