1 2 3 4 5 6 7 8 9 10
//! A `#[fixture]` function takes no parameters: a fixture is resolved by name, //! not called with arguments. use test_better::fixture; #[fixture] fn db(_url: &str) -> Result<i32, ()> { Ok(0) } fn main() {}