Sign in
android
/
platform
/
prebuilts
/
rust
/
b13c2a93d1f3eb2e6bdcdce1ad4dd61c50bc36c6
/
.
/
linux-musl-x86
/
1.63.0
/
src
/
stdlibs
/
library
/
std
/
src
/
sys
/
unix
/
os_str
/
tests.rs
blob: 213277f01f2a6bec51d8302b965c7277e5675c8f [
file
] [
log
] [
blame
]
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
);
}