summaryrefslogtreecommitdiffstats
path: root/library/std/src/sys/unix/os_str/tests.rs
blob: 213277f01f2a6bec51d8302b965c7277e5675c8f (plain)
1
2
3
4
5
6
7
8
9
10
use super::*;

#[test]
fn slice_debug_output() {
    let input = Slice::from_u8_slice(b"\xF0hello,\tworld");
    let expected = r#""\xF0hello,\tworld""#;
    let output = format!("{input:?}");

    assert_eq!(output, expected);
}