]> git.lizzy.rs Git - rust.git/blob - src/liballoc/tests/fmt.rs
Auto merge of #57119 - jethrogb:jb/sgx-os-mod2, r=joshtriplett
[rust.git] / src / liballoc / tests / fmt.rs
1 use std::fmt;
2
3 #[test]
4 fn test_format() {
5     let s = fmt::format(format_args!("Hello, {}!", "world"));
6     assert_eq!(s, "Hello, world!");
7 }