Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
library
/
alloc
/
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!"
);
}