()
| 2338 | |
| 2339 | #[test] |
| 2340 | fn from_box_to_buf() { |
| 2341 | let subjectal = PointerBuf::parse("/foo/bar/0").unwrap(); |
| 2342 | let boxed: Box<Pointer> = subjectal.clone().into(); |
| 2343 | let unboxed = boxed.into_buf(); |
| 2344 | assert_eq!(subjectal, unboxed); |
| 2345 | } |
| 2346 | |
| 2347 | #[test] |
| 2348 | #[cfg(feature = "miette")] |