mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
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);
|
|
}
|