Sign in
android
/
toolchain
/
rustc
/
bcf972c0208490b0eb3ce3c170c2db486ba945b3
/
.
/
library
/
std
/
src
/
sys
/
unix
/
os_str
/
tests.rs
blob: 379673781557389d37828b7431b05a080a12a954 [
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
);
}