use std::thread; use cowstr::*; #[test] fn smoke() { let substr = SubStr::from("foo"); let thread = thread::spawn(move || { assert_eq!(substr, "foo"); }); thread.join().expect("success"); }