#[cfg(test)] mod tests { use cs_trace::{create_trace, child}; #[test] fn creates_child() { let trace = create_trace!("test"); child!(trace, "child"); } #[test] fn creates_child_from_ref() { let trace = create_trace!("test"); child!(&trace, "child"); } }