chromium/third_party/rust/chromium_crates_io/vendor/rstest-0.17.0/tests/resources/fixture/no_warning.rs

use rstest::*;

#[fixture]
fn val() -> i32 {
    21
}

#[fixture]
fn fortytwo(mut val: i32) -> i32 {
    val *= 2;
    val
}

#[rstest]
fn the_test(fortytwo: i32) {
    assert_eq!(fortytwo, 42);
}