Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
panics
/
test-should-fail-bad-message.rs
blob: 1fb2da9055bd188e1c0117e46fc5ef1b0ebc2f4e [
file
] [
log
] [
blame
] [
edit
]
//@ run-fail
//@ check-stdout
//@ compile-flags: --test
//@ needs-unwind
#[
test
]
#[
should_panic
(
expected
=
"foobar"
)]
fn
test_foo
()
{
panic
!(
"blah"
)
}