summaryrefslogtreecommitdiffstats
path: root/tests/run-make/libtest-junit/f.rs
blob: d360d77317d78543451ababb0f5ff3297883b14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#[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);
}