()
| 1845 | |
| 1846 | #[test] |
| 1847 | fn replace_token_with_empty_string() { |
| 1848 | let mut ptr = PointerBuf::from_tokens(["foo", "bar", "baz"]); |
| 1849 | assert!(ptr.replace(1, "").is_ok()); |
| 1850 | assert_eq!(ptr, PointerBuf::from_tokens(["foo", "", "baz"])); |
| 1851 | } |
| 1852 | |
| 1853 | #[test] |
| 1854 | fn replace_token_in_empty_pointer() { |
nothing calls this directly
no test coverage detected