rust/tests/run-make/libtest-junit/f.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
277 B
Rust
Raw Normal View History

#[test]
fn a() {
println!("print from successful test");
// Should pass
}
#[test]
fn b() {
println!("print from failing test");
assert!(false);
}
#[test]
#[should_panic]
fn c() {
assert!(false);
}
#[test]
#[ignore = "msg"]
fn d() {
assert!(false);
}