Sign in
fuchsia
/
third_party
/
rust
/
5242afe811c2648baf158eee28143c9facc350ee
/
.
/
src
/
test
/
run-fail
/
test-should-fail-bad-message.rs
blob: 3c69bb07d3b18ed9e540e3a5010e61a227679064 [
file
] [
log
] [
blame
]
// check-stdout
// error-pattern:thread 'test_foo' panicked at
// compile-flags: --test
// ignore-emscripten
#[
test
]
#[
should_panic
(
expected
=
"foobar"
)]
fn
test_foo
()
{
panic
!(
"blah"
)
}