4 fn slice_debug_output() {
5 let input = Slice::from_u8_slice(b"\xF0hello,\tworld");
6 let expected = r#""\xF0hello,\tworld""#;
7 let output = format!("{input:?}");
9 assert_eq!(output, expected);
15 "Hello\u{FFFD}\u{FFFD} There\u{FFFD} Goodbye",
16 Slice::from_u8_slice(b"Hello\xC0\x80 There\xE6\x83 Goodbye").to_string(),