rust/tests/ui/macros/assert-macro-fmt.rs
2023-01-11 09:32:08 +00:00

8 lines
173 B
Rust

// run-fail
// error-pattern:panicked at 'test-assert-fmt 42 rust'
// ignore-emscripten no processes
fn main() {
assert!(false, "test-assert-fmt {} {}", 42, "rust");
}