nordisk/nornir
crates/mimir-driver/tests/fixture-targets/twin/src/lib.rs
//! the lib target: rust-analyzer's ids, unprefixed
pub struct Config {
pub level: u8,
}
pub fn helper() -> u8 {
1
}
pub fn run() -> u8 {
helper()
}
#[cfg(test)]
mod tests {
// the lib's own test harness: the lib's ids
#[test]
fn helps() {
assert_eq!(super::helper(), 1);
}
}