Sign in
fuchsia
/
third_party
/
rust
/
b60f245b9542142ed01318a7ab5b46fc2ffb283e
/
.
/
src
/
liballoc
/
tests
/
fmt.rs
blob: 0ad092b4997f42cde9d2068acdeb29c6ecc12ef4 [
file
] [
log
] [
blame
]
use
std
::
fmt
;
#[
test
]
fn
test_format
()
{
let
s
=
fmt
::
format
(
format_args
!(
"Hello, {}!"
,
"world"
));
assert_eq
!(
s
,
"Hello, world!"
);
}