mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
433da1fc04
They pass fine.
23 lines
236 B
Rust
23 lines
236 B
Rust
#[test]
|
|
fn a() {
|
|
println!("print from successful test");
|
|
// Should pass
|
|
}
|
|
|
|
#[test]
|
|
fn b() {
|
|
assert!(false);
|
|
}
|
|
|
|
#[test]
|
|
#[should_panic]
|
|
fn c() {
|
|
assert!(false);
|
|
}
|
|
|
|
#[test]
|
|
#[ignore = "msg"]
|
|
fn d() {
|
|
assert!(false);
|
|
}
|