rust/tests/run-make/libtest-junit/f.rs
Augie Fackler d77f636c63 libtest: add tests for junit output format
I'm about to make some changes here, and it was making me uneasy to
modify the output format without test coverage.
2023-04-21 13:15:04 -04:00

24 lines
277 B
Rust

#[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);
}